|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.style.StyleHelper
public abstract class StyleHelper
Style helper methods
Field Summary | |
---|---|
static double |
DEFAULT_FILL_OPACITY
Default fill opacity |
Constructor Summary | |
---|---|
StyleHelper()
|
Method Summary | |
---|---|
static org.geotools.styling.LineSymbolizer |
createLineSymbolizer(Color color,
double width)
Create a default line symbolizer. |
static org.geotools.styling.PointSymbolizer |
createPointSymbolizer(Color color,
double width)
Create a default point symbolizer. |
static org.geotools.styling.PolygonSymbolizer |
createPolygonSymbolizer(Color color,
double width)
Create a default polygon symbolizer. |
static org.geotools.styling.FeatureTypeStyle |
getDefaultStyle(TypeDefinition typeDef,
DataSet dataSet)
Returns a default style for the given type. |
static String |
getFeatureTypeName(TypeDefinition typeDef)
Get the name used in styles for the given type definition. |
static org.geotools.styling.Style |
getStyle(TypeDefinition type,
DataSet dataSet)
Get a style containing the default style for the given type. |
static org.geotools.styling.Symbolizer |
mutatePointSymbolizer(org.geotools.styling.PointSymbolizer symbolizer,
Color color,
int width)
Create a new point symbolizer based on the given one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double DEFAULT_FILL_OPACITY
Constructor Detail |
---|
public StyleHelper()
Method Detail |
---|
public static org.geotools.styling.FeatureTypeStyle getDefaultStyle(TypeDefinition typeDef, DataSet dataSet)
typeDef
- the type definitiondataSet
- the data set
public static String getFeatureTypeName(TypeDefinition typeDef)
typeDef
- the type definition
public static org.geotools.styling.Style getStyle(TypeDefinition type, DataSet dataSet)
type
- the type definitiondataSet
- the data set
public static org.geotools.styling.Symbolizer mutatePointSymbolizer(org.geotools.styling.PointSymbolizer symbolizer, Color color, int width)
symbolizer
- the point symbolizercolor
- the new colorwidth
- the new line width
public static org.geotools.styling.PointSymbolizer createPointSymbolizer(Color color, double width)
color
- the colorwidth
- the line width
public static org.geotools.styling.LineSymbolizer createLineSymbolizer(Color color, double width)
color
- the colorwidth
- the line width
public static org.geotools.styling.PolygonSymbolizer createPolygonSymbolizer(Color color, double width)
color
- the colorwidth
- the line width
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |