Examples of style()


Examples of org.geoserver.config.GeoServerDataDirectory.style()

                sinfo.setWorkspace(catalog.getWorkspaceByName(workspace));
            }

            // ensure that a existing resource does not already exist, because we may not want to overwrite it
            GeoServerDataDirectory dataDir = new GeoServerDataDirectory(catalog.getResourceLoader());
            if (dataDir.style(sinfo).getType() != Resource.Type.UNDEFINED) {
                String msg = "Style resource " + sinfo.getFilename() + " already exists.";
                throw new RestletException(msg, Status.CLIENT_ERROR_FORBIDDEN);
            }

            ResourcePool resourcePool = catalog.getResourcePool();
View Full Code Here

Examples of org.geotools.styling.StyleFactory.style()

        if( style == null ){
            StyleFactory sf = CommonFactoryFinder.getStyleFactory(null);
           
            // create a style that does nothing
            List<FeatureTypeStyle> featureTypeStyles = new ArrayList<FeatureTypeStyle>();
            style = sf.style( title, null, false, featureTypeStyles, null );
           
            getUserData().put("style", style);
        }
        return style;
    }
View Full Code Here

Examples of org.kohsuke.graphviz.Graph.style()

                g.id("cluster_" + jid.replaceAll("-", ""));
                g.attr("bgcolor", BG_CLUSTER);
                Style s = new Style();
                s.attr("rounded");
                s.attr("filled");
                g.style(s);
                subgraphs.put(jid, g);
            }
            subgraphs.get(jid).node(node);
            return false;
        }
View Full Code Here

Examples of playn.core.Font.style()

    }

    /** Re-applies the current Field styles to the text component. */
    public void validateStyles () {
        Font font = _element.resolveStyle(Style.FONT);
        _textComp.setFont(new java.awt.Font(font.name(), awtFontStyle(font.style()),
            FloatMath.round(font.size())));
        Color col = new Color(_element.resolveStyle(Style.COLOR));
        _textComp.setForeground(col);
        _textComp.setCaretColor(col);

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.