Method Summary |
|
public static Style | createLineStyle(String typeName) Returns a simple style to use in default cases.
Parameters: typeName - the TypeName of the feature type the style will style. |
public static Style | createLineStyle(String typeName, Color color) Returns a simple style to use in default cases. |
public static Style | createPointStyle(String typeName) Returns a simple style to use in default cases.
Parameters: typeName - the TypeName of the feature type the style will style. |
public static Style | createPolyStyle(String typeName) Returns a simple style to use in default cases.
Parameters: typeName - the TypeName of the feature type the style will style. |
public static Style | createPolyStyle(String typeName, Color line, Color fill) Returns a simple style to use in default cases. |
public static Style | createRasterStyle(String typeName) Returns a simple style to use in default cases.
Parameters: typeName - the TypeName of the feature type the style will style. |
public static Style | getStyle(String styleName, String typeName) Returns a Style object give a style name and a feature typename.
Parameters: styleName - The name of the style to creates. |
public static Style | getStyle(int index, String typeName) Returns a Style object given a value from
Styling.STYLES and the feature typename.
Parameters: index - a value from Styling.STYLES Parameters: typeName - the TypeName of the feature type the style will style. |
public static Collection | getStyleNames(Layer currentLayer) Returns a list of style names that can be used on the given layer.
Parameters: currentLayer - The layer to finds styles for. |