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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.geotools.styling.Style
Deprecated.Gets a style for the specified layerName.org.geotools.styling.Style
Deprecated.Gets a style for the specified layerName.void
registerStyle
(String layerName, org.geotools.styling.Style style) Deprecated.Registers a style for the specified layerName.
-
Constructor Details
-
Styler
public Styler()Deprecated.
-
-
Method Details
-
registerStyle
Deprecated.Registers a style for the specified layerName.- Parameters:
layerName
- the name of the layerstyle
- the style
-
getStyle
public 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 layergeomType
- the agents geometry type- Returns:
- a style for the agent
-
getStyle
Deprecated.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.
-