java.lang.Object | |
↳ | com.esri.core.renderer.SimpleRenderer |
A simple renderer uses the same symbol for every graphic.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | TYPE | The Constant TYPE. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SimpleRenderer(JsonNode node)
Instantiates SimpleRenderer from a Json node object.
| |||||||||||
SimpleRenderer(Symbol symbol)
Instantiates SimpleRenderer with a symbol.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
String |
getDescription()
Gets the description.
| ||||||||||
String |
getLabel()
Gets the label.
| ||||||||||
Symbol |
getSymbol(Graphic graphic)
Gets the symbol for the given graphic.
| ||||||||||
int | hashCode() | ||||||||||
void |
setDescription(String description)
Sets the description.
| ||||||||||
void |
setLabel(String label)
Sets the label.
| ||||||||||
String |
toJson()
Serializes the properties into a JSON String representation.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Instantiates SimpleRenderer from a Json node object.
node | the node |
---|
Exception | the exception |
---|
Instantiates SimpleRenderer with a symbol.
symbol | The graphic symbol. |
---|
Gets the symbol for the given graphic.
graphic | Graphic object. |
---|
Sets the description.
description | the description to set |
---|
Serializes the properties into a JSON String representation.
Exception | the exception |
---|