Uses of Interface
org.geotools.api.style.Style
Packages that use Style
Package
Description
The following package is an implementation of OGC Symbology Encoding 1.1.0 and ISO 19117 : Portrayal
List of layers to be rendered.
Raster processing support for the GeoTools library.
Basic interface for rendering of features.
A simple renderer implementation.
SLD 1.0 and SE RasterSymbolizer support classes
Styling to be applied on
org.geotools.renderer.geom.Geometry
objects at rendering time.Allows for symbolization of geospatial data.
Dialogs to create basic rendering styles.
Encoder for style objects as YSLD.
-
Uses of Style in org.geotools.api.style
Subinterfaces of Style in org.geotools.api.styleModifier and TypeInterfaceDescriptioninterface
A NamedStyle is used to refer to a style that has a name in a WMS.Methods in org.geotools.api.style that return StyleModifier and TypeMethodDescriptionStyleFactory.createStyle()
StyleFactory.getDefaultStyle()
Style[]
NamedLayer.getStyles()
Style[]
UserLayer.getUserStyles()
StyleFactory.style
(String name, Description description, boolean isDefault, List<FeatureTypeStyle> featureTypeStyles, Symbolizer defaultSymbolizer) Methods in org.geotools.api.style that return types with arguments of type StyleMethods in org.geotools.api.style with parameters of type StyleModifier and TypeMethodDescriptionvoid
void
UserLayer.addUserStyle
(Style style) void
UserLayer.setUserStyles
(Style... styles) void
Called when accept is called on a Style.Called when accept is called on a Style. -
Uses of Style in org.geotools.brewer.styling.builder
Methods in org.geotools.brewer.styling.builder that return StyleMethods in org.geotools.brewer.styling.builder with parameters of type Style -
Uses of Style in org.geotools.map
Fields in org.geotools.map declared as StyleMethods in org.geotools.map that return StyleModifier and TypeMethodDescriptionLayer.getStyle()
Get the style for this layer.StyleLayer.getStyle()
Get the style for this layer.Methods in org.geotools.map with parameters of type StyleModifier and TypeMethodDescriptionvoid
Sets the style for this layer.Constructors in org.geotools.map with parameters of type StyleModifierConstructorDescriptionFeatureLayer
(FeatureSource featureSource, Style style) Creates a new instance of FeatureLayerFeatureLayer
(FeatureSource featureSource, Style style, String title) FeatureLayer
(FeatureCollection collection, Style style) FeatureLayer
(FeatureCollection collection, Style style, String title) GridCoverageLayer
(GridCoverage2D coverage, Style style) Create layer to draw the provided grid coverage.GridCoverageLayer
(GridCoverage2D coverage, Style style, String title) Create layer to draw the provided grid coverage.GridReaderLayer
(GridCoverage2DReader reader, Style style) Create a lyaer to draw the provided grid coverage reader.GridReaderLayer
(GridCoverage2DReader reader, Style style, String title) Create a layer to draw the provided grid coverage reader.GridReaderLayer
(GridCoverage2DReader reader, Style style, String title, GeneralParameterValue[] params) Create layer title and optional parameters used to control the rendering process.GridReaderLayer
(GridCoverage2DReader reader, Style style, GeneralParameterValue[] params) Create a layer with optional parameters to control the rendering process.RasterLayer
(Style style) RasterLayer
(Style style, String title) StyleLayer
(Style style) Creates a new instance of StyleLayerStyleLayer
(Style style, String title) -
Uses of Style in org.geotools.map.legend
Methods in org.geotools.map.legend with parameters of type StyleModifier and TypeMethodDescriptionvoid
Drawer.drawDirect
(BufferedImage bi, SimpleFeature feature, Style style) Used to draw a freature directly onto the provided image.void
Drawer.drawFeature
(BufferedImage bi, SimpleFeature feature, AffineTransform worldToScreenTransform, Style style) void
Drawer.drawFeature
(BufferedImage bi, SimpleFeature feature, Style style, AffineTransform worldToScreenTransform) -
Uses of Style in org.geotools.process.raster
Methods in org.geotools.process.raster with parameters of type Style -
Uses of Style in org.geotools.renderer
Methods in org.geotools.renderer with parameters of type StyleModifier and TypeMethodDescriptionvoid
Renderer.render
(FeatureCollection<? extends FeatureType, ? extends Feature> fc, Envelope viewport, Style style) Renders the provided features using the specified style. -
Uses of Style in org.geotools.renderer.lite
Methods in org.geotools.renderer.lite with parameters of type StyleModifier and TypeMethodDescriptionprotected void
StreamingRenderer.fillBackground
(Graphics2D graphics, Rectangle paintArea, Style style) void
void
-
Uses of Style in org.geotools.renderer.lite.gridcoverage2d
Methods in org.geotools.renderer.lite.gridcoverage2d with parameters of type Style -
Uses of Style in org.geotools.renderer.style
Methods in org.geotools.renderer.style with parameters of type Style -
Uses of Style in org.geotools.styling
Classes in org.geotools.styling that implement StyleModifier and TypeClassDescriptionclass
A style object is quite hard to set up, involving fills, strokes, symbolizers and rules.class
A style object is quite hard to set up, involving fills, strokes, symbolizers and rules.class
A NamedStyle is used to refer to a style that has a name in a WMS.class
Implementation of style.Methods in org.geotools.styling that return StyleModifier and TypeMethodDescriptionStyleBuilder.buildClassifiedStyle
(SimpleFeatureCollection fc, String name, String[] colors, SimpleFeatureType schema) given a feature collection and an array of colours build a style with the given number of classes on the named columnstatic Style
SLD.createLineStyle
(Color lineColor, float width) Create a line style with given color and line widthstatic Style
SLD.createLineStyle
(Color lineColor, float width, String labelField, Font labelFont) Create a line style with given color, line width and optional labelsstatic Style
SLD.createPointStyle
(String wellKnownName, Color lineColor, Color fillColor, float opacity, float size) Create a point style without labelsstatic Style
SLD.createPointStyle
(String wellKnownName, Color lineColor, Color fillColor, float opacity, float size, String labelField, Font labelFont) Create a point style, optionally with text labelsstatic Style
SLD.createPolygonStyle
(Color outlineColor, Color fillColor, float opacity) Create a polygon style with the given colors and opacity.static Style
SLD.createPolygonStyle
(Color outlineColor, Color fillColor, float opacity, String labelField, Font labelFont) Create a polygon style with the given colors, opacity and optional labels.static Style
SLD.createSimpleStyle
(DataStore store, String typeName, Color color) Create a minimal style to render features of typetypeName
read from the given data storestatic Style
SLD.createSimpleStyle
(FeatureType type) Create a minimal style to render features of typetype
.static Style
SLD.createSimpleStyle
(FeatureType type, Color color) Create a minimal style to render features of typetype
abstract Style
AbstractStyleFactory.createStyle()
StyleBuilder.createStyle()
create a new default styleStyleBuilder.createStyle
(String typeName, Symbolizer symbolizer) create a new styleStyleBuilder.createStyle
(String typeName, Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator) create a new styleStyleBuilder.createStyle
(Symbolizer symbolizer) create a new styleStyleBuilder.createStyle
(Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator) create a new styleStyleFactoryImpl.createStyle()
static Style
SLD.defaultStyle
(StyledLayerDescriptor sld) Retrieve the default style from the given StyledLayerDescriptor.abstract Style
AbstractStyleFactory.getDefaultStyle()
StyledLayerDescriptorImpl.getDefaultStyle()
Convenience method for grabbing the default style from the StyledLayerDescriptor.StyleFactoryImpl.getDefaultStyle()
Style[]
NamedLayerImpl.getStyles()
Style[]
UserLayerImpl.getUserStyles()
static Style
SLD.matchingStyle
(Style[] styles, SimpleFeatureType schema) Returns the first style object which matches a given schema.StyleFactoryImpl.style
(String name, Description description, boolean isDefault, List<FeatureTypeStyle> featureTypeStyles, Symbolizer defaultSymbolizer) StyleFactoryImpl2.style
(String name, Description description, boolean isDefault, List<FeatureTypeStyle> featureTypeStyles, Symbolizer defaultSymbolizer) static Style[]
SLD.styles
(StyledLayerDescriptor sld) Get the Styles defined in the given StyledLayerDescriptorstatic Style
SLD.wrapSymbolizers
(Symbolizer... symbolizers) Wrap one or more symbolizers into a Rule / FeatureTypeStyle / StyleMethods in org.geotools.styling that return types with arguments of type StyleMethods in org.geotools.styling with parameters of type StyleModifier and TypeMethodDescriptionvoid
void
UserLayerImpl.addUserStyle
(Style style) static String[]
Retrieves all colour names defined in a stylestatic FeatureTypeStyle
SLD.featureTypeStyle
(Style style, SimpleFeatureType type) Returns the feature type style in the style which matched a particular name.static Filter[]
Retrieves all filters defined in a stylestatic LineSymbolizer
SLD.lineSymbolizer
(Style style) Retrieve the first LineSymbolizer from the provided Style.static Style
SLD.matchingStyle
(Style[] styles, SimpleFeatureType schema) Returns the first style object which matches a given schema.static URL
SLD.pointGraphic
(Style style) Retrieves the location of the first external graphic in a Style object.static Mark
Retrieves the first Mark used in a Style object.static PointSymbolizer
SLD.pointSymbolizer
(Style style) Retrieve the first PointSymbolizer from the provided Style.static PolygonSymbolizer
SLD.polySymbolizer
(Style style) Retrieve the first PolygonSymbolizer from the provided Style.static double
SLD.rasterOpacity
(Style style) Retrieves the opacity from the first RasterSymbolizer defined in a style.static RasterSymbolizer
SLD.rasterSymbolizer
(Style style) Retrieve the first RasterSymbolizer from the provided Style.static Rule[]
Retrieves all rules defined in a stylestatic void
SLD.setChannelSelection
(Style style, SelectedChannelType[] rgb, SelectedChannelType gray) Updates the raster channel selection in a Style objectstatic void
SLD.setLineColour
(Style style, Color colour) Updates the color for line symbolizers in the current style.static void
SLD.setPointColour
(Style style, Color colour) Sets the Colour for the point symbolizerstatic void
SLD.setPolyColour
(Style style, Color colour) Sets the colour for the first polygon symbolizer defined in the provided stylestatic void
SLD.setRasterOpacity
(Style style, double opacity) Updates the raster opacity in the current stylevoid
UserLayerImpl.setUserStyles
(Style... styles) protected static Symbolizer
SLD.symbolizer
(Style style, Class SYMBOLIZER) Retrieve the first Symbolizer from the provided Style.static Symbolizer[]
SLD.symbolizers
(Style style) Retrieves all symbolizers defined in a stylestatic TextSymbolizer
SLD.textSymbolizer
(Style style) Retrieve the first TextSymbolizer from the provided Style.void
-
Uses of Style in org.geotools.styling.visitor
Methods in org.geotools.styling.visitor with parameters of type Style -
Uses of Style in org.geotools.swing.styling
Methods in org.geotools.swing.styling that return StyleModifier and TypeMethodDescriptionstatic Style
JSimpleStyleDialog.showDialog
(Component parent, DataStore dataStore) Static convenience method: displays aJSimpleStyleDialog
to prompt the user for style preferences to use with the first feature type in thedataStore
.static Style
JSimpleStyleDialog.showDialog
(Component parent, DataStore dataStore, Style initialStyle) Static convenience method: displays aJSimpleStyleDialog
to prompt the user for style preferences to use with the first feature type in thedataStore
.static Style
JSimpleStyleDialog.showDialog
(Component parent, SimpleFeatureType featureType) Static convenience method: displays aJSimpleStyleDialog
to prompt the user for style preferences to use with the given feature type.static Style
JSimpleStyleDialog.showDialog
(Component parent, SimpleFeatureType featureType, Style initialStyle) Static convenience method: displays aJSimpleStyleDialog
to prompt the user for style preferences to use with the given feature type.static Style
JSimpleStyleDialog.showDialog
(Component parent, StyleLayer layer) Static convenience method: displays aJSimpleStyleDialog
to prompt the user for style preferences to use with the givenStyleLayer
.Methods in org.geotools.swing.styling with parameters of type StyleModifier and TypeMethodDescriptionstatic Style
JSimpleStyleDialog.showDialog
(Component parent, DataStore dataStore, Style initialStyle) Static convenience method: displays aJSimpleStyleDialog
to prompt the user for style preferences to use with the first feature type in thedataStore
.static Style
JSimpleStyleDialog.showDialog
(Component parent, SimpleFeatureType featureType, Style initialStyle) Static convenience method: displays aJSimpleStyleDialog
to prompt the user for style preferences to use with the given feature type.Constructors in org.geotools.swing.styling with parameters of type StyleModifierConstructorDescriptionJSimpleStyleDialog
(Dialog owner, SimpleFeatureType schema, Style initialStyle) Constructor.JSimpleStyleDialog
(Frame owner, SimpleFeatureType schema, Style initialStyle) Constructor. -
Uses of Style in org.geotools.xml.styling
Methods in org.geotools.xml.styling that return StyleModifier and TypeMethodDescriptionSLDParser.parseStyle
(Node n) build a style for the Node providedStyle[]
SLDParser.readDOM()
Read styles from the dom that was previously parsed.Style[]
Read the DOM provided and create a Style object for each user style foundStyle[]
SLDParser.readXML()
Read the xml inputsource provided and create a Style object for each user style found -
Uses of Style in org.geotools.ysld.encode
Methods in org.geotools.ysld.encode with parameters of type StyleConstructors in org.geotools.ysld.encode with parameters of type Style