Uses of Interface
org.geotools.styling.Style

Packages that use Style
org.geotools.legend   
org.geotools.map List of layers to be rendered. 
org.geotools.renderer Basic interface for rendering of features. 
org.geotools.renderer.lite A simple renderer implementation. 
org.geotools.renderer.lite.gridcoverage2d SLD 1.0 and SE RasterSymbolizer support classes 
org.geotools.styling Allows for symbolization of geospatial data. 
org.geotools.styling.builder   
org.geotools.styling.visitor   
org.geotools.swing.styling Dialogs to create basic rendering styles. 
org.geotools.swt.styling Dialogs to create basic rendering styles. 
org.geotools.swt.styling.simple   
org.geotools.swt.utils Helper classes for swt module components 
 

Uses of Style in org.geotools.legend
 

Methods in org.geotools.legend with parameters of type Style
 void 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.map
 

Fields in org.geotools.map declared as Style
protected  Style StyleLayer.style
          Style used for rendering
 

Methods in org.geotools.map that return Style
 Style StyleLayer.getStyle()
          Get the style for this layer.
 Style MapLayer.getStyle()
          Deprecated. Get the style for this layer.
 Style Layer.getStyle()
          Get the style for this layer.
 

Methods in org.geotools.map with parameters of type Style
 void DefaultMapContext.addLayer(CollectionSource source, Style style)
          Deprecated. Add the given collection source as a new layer to the end of the list of layers held by this context and trigger a MapLayerListEvent.
 void MapContext.addLayer(Collection collection, Style style)
          Deprecated. Add a new layer and trigger a LayerListEvent.
 void DefaultMapContext.addLayer(Collection collection, Style style)
          Deprecated. Add the given collection as a new layer to the end of the list of layers held by this context and trigger a MapLayerListEvent.
 void MapContext.addLayer(FeatureCollection featureCollection, Style style)
          Deprecated. Add a new layer and trigger a LayerListEvent.
 void DefaultMapContext.addLayer(FeatureCollection featureCollection, Style style)
          Deprecated. Add the given feature collection as a new layer to the end of the list of layers held by this context and trigger a MapLayerListEvent.
 void MapContext.addLayer(FeatureSource featureSource, Style style)
          Deprecated. Add a new layer and trigger a LayerListEvent.
 void DefaultMapContext.addLayer(FeatureSource featureSource, Style style)
          Deprecated. Add the given feature source as a new layer to the end of the list of layers held by this context and trigger a MapLayerListEvent.
 void MapContext.addLayer(GridCoverage2DReader reader, Style style)
          Deprecated. Add a new layer and trigger a LayerListEvent
 void DefaultMapContext.addLayer(GridCoverage2DReader reader, Style style)
          Deprecated. Add a grid coverage data to be supplied by the given reader as a new layer to the end of the list of layers held by this context.
 void MapContext.addLayer(GridCoverage gridCoverage, Style style)
          Deprecated. Add a new layer and trigger a LayerListEvent
 void DefaultMapContext.addLayer(GridCoverage gc, Style style)
          Deprecated. Add a grid coverage as a new layer to the end of the list of layers held by this context.
 void StyleLayer.setStyle(Style style)
          Sets the style for this layer.
 void MapLayer.setStyle(Style style)
          Deprecated. Sets the style for this layer.
 

Constructors in org.geotools.map with parameters of type Style
DefaultMapLayer(CollectionSource source, Style style, String title)
          Deprecated.  
DefaultMapLayer(Collection collection, Style style)
          Deprecated.  
DefaultMapLayer(Collection collection, Style style, String title)
          Deprecated.  
DefaultMapLayer(FeatureCollection collection, Style style)
          Deprecated. Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter
DefaultMapLayer(FeatureCollection collection, Style style, String title)
          Deprecated. Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter
DefaultMapLayer(FeatureSource featureSource, Style style)
          Deprecated. Creates a new instance of DefaultMapLayer
DefaultMapLayer(FeatureSource featureSource, Style style, String title)
          Deprecated. Creates a new instance of DefaultMapLayer
DefaultMapLayer(GridCoverage2DReader reader, Style style)
          Deprecated. Constructor which adds a new layer and triggers a LayerListEvent.
DefaultMapLayer(GridCoverage2DReader reader, Style style, String title)
          Deprecated. Constructor which adds a new layer and trigger a LayerListEvent.
DefaultMapLayer(GridCoverage2DReader reader, Style style, String title, GeneralParameterValue[] params)
          Deprecated. Constructor which adds a new layer and trigger a LayerListEvent.
DefaultMapLayer(GridCoverage coverage, Style style)
          Deprecated. * Add a new layer and trigger a LayerListEvent.
DefaultMapLayer(GridCoverage coverage, Style style, String title)
          Deprecated. * Add a new layer and trigger a LayerListEvent.
FeatureLayer(FeatureCollection collection, Style style)
           
FeatureLayer(FeatureCollection collection, Style style, String title)
           
FeatureLayer(FeatureSource featureSource, Style style)
          Creates a new instance of FeatureLayer
FeatureLayer(FeatureSource featureSource, Style style, String title)
           
FeatureSourceMapLayer(FeatureSource<? extends FeatureType,? extends Feature> featureSource, Style style)
          Deprecated. Convenience constructor that sets title to the empty string.
FeatureSourceMapLayer(FeatureSource<? extends FeatureType,? extends Feature> featureSource, Style style, String title)
          Deprecated. Constructor
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, GeneralParameterValue[] params)
          Create a layer with optional parameters to control the rendering process.
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.
MapLayer(CollectionSource source, Style style, String title)
          Deprecated.  
MapLayer(Collection collection, Style style)
          Deprecated.  
MapLayer(Collection collection, Style style, String title)
          Deprecated.  
MapLayer(FeatureCollection collection, Style style)
          Deprecated. Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter
MapLayer(FeatureCollection collection, Style style, String title)
          Deprecated. Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter
MapLayer(FeatureSource featureSource, Style style)
          Deprecated. Creates a new instance of DefaultMapLayer
MapLayer(FeatureSource featureSource, Style style, String title)
          Deprecated. Creates a new instance of DefaultMapLayer
MapLayer(GridCoverage2DReader reader, Style style)
          Deprecated. Constructor which adds a new layer and triggers a LayerListEvent.
MapLayer(GridCoverage2DReader reader, Style style, String title)
          Deprecated. Constructor which adds a new layer and trigger a LayerListEvent.
MapLayer(GridCoverage2DReader reader, Style style, String title, GeneralParameterValue[] params)
          Deprecated. Constructor which adds a new layer and trigger a LayerListEvent.
MapLayer(GridCoverage coverage, Style style)
          Deprecated. * Add a new layer and trigger a LayerListEvent.
MapLayer(GridCoverage coverage, Style style, String title)
          Deprecated. * Add a new layer and trigger a LayerListEvent.
RasterLayer(Style style)
           
RasterLayer(Style style, String title)
           
StyleLayer(Style style)
          Creates a new instance of StyleLayer
StyleLayer(Style style, String title)
           
 

Uses of Style in org.geotools.renderer
 

Methods in org.geotools.renderer with parameters of type Style
 void 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 Style
 void OpacityFinder.visit(Style style)
           
 void MetaBufferEstimator.visit(Style style)
           
 

Uses of Style in org.geotools.renderer.lite.gridcoverage2d
 

Methods in org.geotools.renderer.lite.gridcoverage2d with parameters of type Style
 void StyleVisitorAdapter.visit(Style style)
           
 

Uses of Style in org.geotools.styling
 

Subinterfaces of Style in org.geotools.styling
 interface NamedStyle
          A NamedStyle is used to refer to a style that has a name in a WMS.
 

Classes in org.geotools.styling that implement Style
 class NamedStyleImpl
          A NamedStyle is used to refer to a style that has a name in a WMS.
 

Methods in org.geotools.styling that return Style
 Style StyleBuilder.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 column
static Style SLD.createLineStyle(Color lineColor, float width)
          Create a line style with given color and line width
static Style SLD.createLineStyle(Color lineColor, float width, String labelField, Font labelFont)
          Create a line style with given color, line width and optional labels
static Style SLD.createPointStyle(String wellKnownName, Color lineColor, Color fillColor, float opacity, float size)
          Create a point style without labels
static Style SLD.createPointStyle(String wellKnownName, Color lineColor, Color fillColor, float opacity, float size, String labelField, Font labelFont)
          Create a point style, optionally with text labels
static 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(AbstractDataStore store, String typeName, Color color)
          Create a minimal style to render features of type typeName read from the given data store
static Style SLD.createSimpleStyle(FeatureType type)
          Create a minimal style to render features of type type.
static Style SLD.createSimpleStyle(FeatureType type, Color color)
          Create a minimal style to render features of type type
 Style StyleBuilder.createStyle()
          create a new default style
 Style StyleFactoryImpl.createStyle()
           
abstract  Style AbstractStyleFactory.createStyle()
           
 Style StyleFactory.createStyle()
           
 Style StyleBuilder.createStyle(String typeName, Symbolizer symbolizer)
          create a new style
 Style StyleBuilder.createStyle(String typeName, Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator)
          create a new style
 Style StyleBuilder.createStyle(Symbolizer symbolizer)
          create a new style
 Style StyleBuilder.createStyle(Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator)
          create a new style
static Style SLD.defaultStyle(StyledLayerDescriptor sld)
          Retrieve the default style from the given StyledLayerDescriptor.
 Style StyleFactoryImpl.getDefaultStyle()
           
 Style StyledLayerDescriptorImpl.getDefaultStyle()
          Convenience method for grabbing the default style from the StyledLayerDescriptor.
abstract  Style AbstractStyleFactory.getDefaultStyle()
           
 Style StyleFactory.getDefaultStyle()
           
 Style[] NamedLayerImpl.getStyles()
           
 Style[] NamedLayer.getStyles()
           
 Style[] UserLayerImpl.getUserStyles()
           
 Style[] UserLayer.getUserStyles()
           
static Style SLD.matchingStyle(Style[] styles, SimpleFeatureType schema)
          Returns the first style object which matches a given schema.
 Style SLDParser.parseStyle(Node n)
          build a style for the Node provided
 Style[] SLDParser.readDOM()
          Read styles from the dom that was previously parsed.
 Style[] SLDParser.readDOM(Document document)
          Read the DOM provided and create a Style object for each user style found
 Style[] SLDParser.readXML()
          Read the xml inputsource provided and create a Style object for each user style found
 Style StyleFactoryImpl.style(String name, Description description, boolean isDefault, List<FeatureTypeStyle> featureTypeStyles, Symbolizer defaultSymbolizer)
           
 Style StyleFactory.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 StyledLayerDescriptor
static Style SLD.wrapSymbolizers(Symbolizer... symbolizers)
          Wrap one or more symbolizers into a Rule / FeatureTypeStyle / Style
 

Methods in org.geotools.styling that return types with arguments of type Style
 List<Style> NamedLayerImpl.styles()
           
 List<Style> NamedLayer.styles()
           
 List<Style> UserLayerImpl.userStyles()
           
 List<Style> UserLayer.userStyles()
           
 

Methods in org.geotools.styling with parameters of type Style
 void NamedLayerImpl.addStyle(Style sl)
           
 void NamedLayer.addStyle(Style sl)
           
 void UserLayerImpl.addUserStyle(Style style)
           
 void UserLayer.addUserStyle(Style style)
           
static String[] SLD.colors(Style style)
          Retrieves all colour names defined in a style
static FeatureTypeStyle SLD.featureTypeStyle(Style style, SimpleFeatureType type)
          Returns the feature type style in the style which matched a particular name.
static Filter[] SLD.filters(Style style)
          Retrieves all filters defined in a style
static 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 SLD.pointMark(Style style)
          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[] SLD.rules(Style style)
          Retrieves all rules defined in a style
static void SLD.setChannelSelection(Style style, SelectedChannelType[] rgb, SelectedChannelType gray)
          Updates the raster channel selection in a Style object This method will update the Style in place; some of the rules & symbolizers will be replace with modified copies.
static 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 symbolizer
static void SLD.setPolyColour(Style style, Color colour)
          Sets the colour for the first polygon symbolizer defined in the provided style
static void SLD.setRasterOpacity(Style style, double opacity)
          Updates the raster opacity in the current style Note: This method will update the Style in place; some of the rules and symbolizers will be replaced with modified copies.
 void UserLayerImpl.setUserStyles(Style[] styles)
           
 void UserLayer.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 style
static TextSymbolizer SLD.textSymbolizer(Style style)
          Retrieve the first TextSymbolizer from the provided Style.
 void StyleAttributeExtractor.visit(Style style)
           
 void AbstractStyleVisitor.visit(Style style)
           
 void StyleVisitor.visit(Style style)
          Called when accept is called on a Style.
 

Uses of Style in org.geotools.styling.builder
 

Methods in org.geotools.styling.builder that return Style
 Style StyleBuilder.build()
           
 Style StyleBuilder.buildStyle()
           
 

Methods in org.geotools.styling.builder with parameters of type Style
 StyleBuilder StyleBuilder.reset(Style style)
           
 

Uses of Style in org.geotools.styling.visitor
 

Methods in org.geotools.styling.visitor with parameters of type Style
 void DuplicatingStyleVisitor.visit(Style style)
           
 

Uses of Style in org.geotools.swing.styling
 

Methods in org.geotools.swing.styling that return Style
static Style JSimpleStyleDialog.showDialog(Component parent, AbstractDataStore dataStore)
          Static convenience method: displays a JSimpleStyleDialog to prompt the user for style preferences to use with the first feature type in the dataStore.
static Style JSimpleStyleDialog.showDialog(Component parent, AbstractDataStore dataStore, Style initialStyle)
          Static convenience method: displays a JSimpleStyleDialog to prompt the user for style preferences to use with the first feature type in the dataStore.
static Style JSimpleStyleDialog.showDialog(Component parent, SimpleFeatureType featureType)
          Static convenience method: displays a JSimpleStyleDialog 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 a JSimpleStyleDialog 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 a JSimpleStyleDialog to prompt the user for style preferences to use with the given StyleLayer.
 

Methods in org.geotools.swing.styling with parameters of type Style
static Style JSimpleStyleDialog.showDialog(Component parent, AbstractDataStore dataStore, Style initialStyle)
          Static convenience method: displays a JSimpleStyleDialog to prompt the user for style preferences to use with the first feature type in the dataStore.
static Style JSimpleStyleDialog.showDialog(Component parent, SimpleFeatureType featureType, Style initialStyle)
          Static convenience method: displays a JSimpleStyleDialog to prompt the user for style preferences to use with the given feature type.
 

Constructors in org.geotools.swing.styling with parameters of type Style
JSimpleStyleDialog(Dialog owner, SimpleFeatureType schema, Style initialStyle)
          Constructor.
JSimpleStyleDialog(Frame owner, SimpleFeatureType schema, Style initialStyle)
          Constructor.
 

Uses of Style in org.geotools.swt.styling
 

Methods in org.geotools.swt.styling that return Style
static Style SimpleStyleConfigurator.showDialog(Shell parent, Layer layer)
           
static Style SimpleStyleConfigurator.showDialog(Shell parent, SimpleFeatureSource featureSource, Style style)
           
 

Methods in org.geotools.swt.styling with parameters of type Style
static Style SimpleStyleConfigurator.showDialog(Shell parent, SimpleFeatureSource featureSource, Style style)
           
static String SimpleStyleConfigurator.styleToString(Style style)
          Converts a style to its string representation to be written to file.
 

Constructors in org.geotools.swt.styling with parameters of type Style
SimpleStyleConfigurator(Shell parent, SimpleFeatureCollection featureCollection, Style style)
          Construct SimpleStyleConfigurator.
 

Uses of Style in org.geotools.swt.styling.simple
 

Fields in org.geotools.swt.styling.simple declared as Style
protected  Style AbstractSimpleConfigurator.style
           
 

Methods in org.geotools.swt.styling.simple that return Style
static Style SLDs.getDefaultStyle(StyledLayerDescriptor sld)
           
protected  Style AbstractSimpleConfigurator.getStyle()
          Retrieves the style object from the style blackboard.
 

Methods in org.geotools.swt.styling.simple with parameters of type Style
static FeatureTypeStyle SLDs.getFeatureTypeStyle(Style s)
          gets the first FeatureTypeStyle
static Rule SLDs.getRasterSymbolizerRule(Style s)
          Find the first rule which contains a rastersymbolizer, and return it
 

Constructors in org.geotools.swt.styling.simple with parameters of type Style
AbstractSimpleConfigurator(Shell parent, SimpleFeatureCollection featureCollection, Style style)
          Construct AbstractSimpleConfigurator.
 

Uses of Style in org.geotools.swt.utils
 

Methods in org.geotools.swt.utils that return Style
static Style Utils.createFromSLD(File sld)
          Create a Style object from a definition in a SLD document
static Style Utils.createLineStyle()
          Create a default line style.
static Style Utils.createPointStyle()
          Create a default point style.
static Style Utils.createPolygonStyle()
          Create a default polygon style.
static Style Utils.createRGBStyle(GridCoverage2DReader reader)
          This method examines the names of the sample dimensions in the provided coverage looking for "red
static Style Utils.createStyle(File file, SimpleFeatureSource featureSource)
          Create a Style to display the features.
static Style Utils.createStyle2(SimpleFeatureSource featureSource)
          Create a default Style ofr the featureSource.
 



Copyright © 1996-2014 Geotools. All Rights Reserved.