public final class DisplayRule
extends com.google.api.client.json.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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
DisplayRule() |
| Modifier and Type | Method and Description |
|---|---|
DisplayRule |
clone() |
java.util.List<Filter> |
getFilters()
This display rule will only be applied to features that match all of the filters here.
|
LineStyle |
getLineOptions()
Style applied to lines.
|
java.lang.String |
getName()
Display rule name.
|
PointStyle |
getPointOptions()
Style applied to points.
|
PolygonStyle |
getPolygonOptions()
Style applied to polygons.
|
ZoomLevels |
getZoomLevels()
The zoom levels that this display rule apply.
|
DisplayRule |
set(java.lang.String fieldName,
java.lang.Object value) |
DisplayRule |
setFilters(java.util.List<Filter> filters)
This display rule will only be applied to features that match all of the filters here.
|
DisplayRule |
setLineOptions(LineStyle lineOptions)
Style applied to lines.
|
DisplayRule |
setName(java.lang.String name)
Display rule name.
|
DisplayRule |
setPointOptions(PointStyle pointOptions)
Style applied to points.
|
DisplayRule |
setPolygonOptions(PolygonStyle polygonOptions)
Style applied to polygons.
|
DisplayRule |
setZoomLevels(ZoomLevels zoomLevels)
The zoom levels that this display rule apply.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<Filter> getFilters()
null for nonepublic DisplayRule setFilters(java.util.List<Filter> filters)
filters - filters or null for nonepublic LineStyle getLineOptions()
null for nonepublic DisplayRule setLineOptions(LineStyle lineOptions)
lineOptions - lineOptions or null for nonepublic java.lang.String getName()
null for nonepublic DisplayRule setName(java.lang.String name)
name - name or null for nonepublic PointStyle getPointOptions()
null for nonepublic DisplayRule setPointOptions(PointStyle pointOptions)
pointOptions - pointOptions or null for nonepublic PolygonStyle getPolygonOptions()
null for nonepublic DisplayRule setPolygonOptions(PolygonStyle polygonOptions)
polygonOptions - polygonOptions or null for nonepublic ZoomLevels getZoomLevels()
null for nonepublic DisplayRule setZoomLevels(ZoomLevels zoomLevels)
zoomLevels - zoomLevels or null for nonepublic DisplayRule set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DisplayRule clone()
clone in class com.google.api.client.json.GenericJson