| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PARAMETER_COLOR |
static java.lang.String |
PARAMETER_INTERVAL |
static java.lang.String |
VALUE_INTERVAL_BY_DAY |
static java.lang.String |
VALUE_INTERVAL_BY_HOUR |
static java.lang.String |
VALUE_INTERVAL_BY_MONTH |
static java.lang.String |
VALUE_INTERVAL_BY_WEEK |
| Constructor and Description |
|---|
Style() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColor() |
(package private) java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
(package private) java.lang.Object |
getProperty(java.lang.String property) |
(package private) java.lang.Object[] |
getPropertyAsArray(java.lang.String property) |
(package private) boolean |
getPropertyAsBoolean(java.lang.String property) |
(package private) double |
getPropertyAsDouble(java.lang.String property) |
(package private) int |
getPropertyAsInt(java.lang.String property) |
(package private) java.lang.String |
getPropertyAsString(java.lang.String property) |
(package private) boolean |
hasProperty(java.lang.String property) |
(package private) void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the style properties.
|
public static final java.lang.String PARAMETER_COLOR
public static final java.lang.String PARAMETER_INTERVAL
public static final java.lang.String VALUE_INTERVAL_BY_MONTH
public static final java.lang.String VALUE_INTERVAL_BY_WEEK
public static final java.lang.String VALUE_INTERVAL_BY_DAY
public static final java.lang.String VALUE_INTERVAL_BY_HOUR
public java.lang.String getColor()
java.lang.Object getProperty(java.lang.String property)
java.lang.String getPropertyAsString(java.lang.String property)
double getPropertyAsDouble(java.lang.String property)
property - the property name.java.lang.NullPointerException - if properties were not set (which means that
default values should be expected).java.lang.NumberFormatException - if property value is not a double.hasProperty(String)int getPropertyAsInt(java.lang.String property)
property - the property name.java.lang.NullPointerException - if properties were not set (which means that
default values should be expected).java.lang.NumberFormatException - if property value is not an integer.hasProperty(String)boolean getPropertyAsBoolean(java.lang.String property)
property - the property name.java.lang.NullPointerException - if properties were not set (which means that
default values should be expected).hasProperty(String)java.lang.Object[] getPropertyAsArray(java.lang.String property)
boolean hasProperty(java.lang.String property)
java.util.Map<java.lang.String,java.lang.String> getProperties()
void setProperties(java.util.Map<java.lang.String,java.lang.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–2019 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.