| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_COLOR |
static String |
PARAMETER_INTERVAL |
static String |
VALUE_INTERVAL_BY_DAY |
static String |
VALUE_INTERVAL_BY_HOUR |
static String |
VALUE_INTERVAL_BY_MONTH |
static String |
VALUE_INTERVAL_BY_WEEK |
| Constructor and Description |
|---|
Style() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor() |
(package private) Map<String,String> |
getProperties() |
(package private) Object |
getProperty(String property) |
(package private) Object[] |
getPropertyAsArray(String property) |
(package private) boolean |
getPropertyAsBoolean(String property) |
(package private) double |
getPropertyAsDouble(String property) |
(package private) int |
getPropertyAsInt(String property) |
(package private) String |
getPropertyAsString(String property) |
(package private) boolean |
hasProperty(String property) |
(package private) void |
setProperties(Map<String,String> properties)
Sets the style properties.
|
public static final String PARAMETER_COLOR
public static final String PARAMETER_INTERVAL
public static final String VALUE_INTERVAL_BY_MONTH
public static final String VALUE_INTERVAL_BY_WEEK
public static final String VALUE_INTERVAL_BY_DAY
public static final String VALUE_INTERVAL_BY_HOUR
public String getColor()
double getPropertyAsDouble(String property)
property - the property name.NullPointerException - if properties were not set (which means that
default values should be expected).NumberFormatException - if property value is not a double.hasProperty(String)int getPropertyAsInt(String property)
property - the property name.NullPointerException - if properties were not set (which means that
default values should be expected).NumberFormatException - if property value is not an integer.hasProperty(String)boolean getPropertyAsBoolean(String property)
property - the property name.NullPointerException - if properties were not set (which means that
default values should be expected).hasProperty(String)boolean hasProperty(String property)
void setProperties(Map<String,String> properties)
null the default
properties are used. However, default styles can be random values and
should not be expected to be reproducable.properties - style options. If null or not set default
values are chose.Copyright © 2013–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.