Class Styler
java.lang.Object
repast.simphony.visualization.gis.Styler
Deprecated.
2D piccolo based code is being removed
Produces styles for agent layers in a gis display.
- Author:
- Nick Collier, Eric Tatara
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.geotools.styling.StyleDeprecated.Gets a style for the specified layerName.org.geotools.styling.StyleDeprecated.Gets a style for the specified layerName.voidregisterStyle(String layerName, org.geotools.styling.Style style) Deprecated.Registers a style for the specified layerName.
- 
Constructor Details- 
Stylerpublic Styler()Deprecated.
 
- 
- 
Method Details- 
registerStyleDeprecated.Registers a style for the specified layerName.- Parameters:
- layerName- the name of the layer
- style- the style
 
- 
getStylepublic org.geotools.styling.Style getStyle(String layerName, Class<? extends org.locationtech.jts.geom.Geometry> geomType) Deprecated.Gets a style for the specified layerName. If no style has been registered then a default one will be returned.- Parameters:
- layerName- the name of the layer
- geomType- the agents geometry type
- Returns:
- a style for the agent
 
- 
getStyleDeprecated.Gets a style for the specified layerName. If no style has been registered then return null.- Parameters:
- layerName- the name of the layer
- Returns:
- a style for the agent or null if no style has been registered.
 
 
-