public final class LineStyle extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
| Modifier and Type | Class and Description |
|---|---|
static class |
LineStyle.Stroke
Stroke of the line.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LineStyle() |
| Modifier and Type | Method and Description |
|---|---|
LineStyle |
clone() |
Border |
getBorder()
Border of the line.
|
List<Double> |
getDash()
Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap.
|
LabelStyle |
getLabel()
Label style for the line.
|
LineStyle.Stroke |
getStroke()
Stroke of the line.
|
LineStyle |
set(String fieldName,
Object value) |
LineStyle |
setBorder(Border border)
Border of the line.
|
LineStyle |
setDash(List<Double> dash)
Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap.
|
LineStyle |
setLabel(LabelStyle label)
Label style for the line.
|
LineStyle |
setStroke(LineStyle.Stroke stroke)
Stroke of the line.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Border getBorder()
null for nonepublic LineStyle setBorder(Border border)
border - border or null for nonepublic List<Double> getDash()
null for nonepublic LineStyle setDash(List<Double> dash)
dash - dash or null for nonepublic LabelStyle getLabel()
null for nonepublic LineStyle setLabel(LabelStyle label)
label - label or null for nonepublic LineStyle.Stroke getStroke()
null for nonepublic LineStyle setStroke(LineStyle.Stroke stroke)
stroke - stroke or null for nonepublic LineStyle set(String fieldName, Object value)
set in class GenericJsonpublic LineStyle clone()
clone in class GenericJson