|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.renderer.SimpleRenderer
public class SimpleRenderer
A simple renderer uses the same symbol for every graphic.
| Field Summary | |
|---|---|
static String |
TYPE
|
| Constructor Summary | |
|---|---|
SimpleRenderer(org.codehaus.jackson.JsonNode node)
Instantiates SimpleRenderer from a Json node object. |
|
SimpleRenderer(Symbol symbol)
Instantiates SimpleRenderer with a symbol. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
| Constructor Detail |
|---|
public SimpleRenderer(org.codehaus.jackson.JsonNode node)
throws Exception
Exceptionpublic SimpleRenderer(Symbol symbol)
symbol - The graphic symbol.| Method Detail |
|---|
public Symbol getSymbol(Graphic graphic)
getSymbol in interface Renderer<Graphic>graphic - Graphic object.
public String getLabel()
public void setLabel(String label)
label - the label to setpublic String getDescription()
public void setDescription(String description)
description - the description to set
public String toJson()
throws Exception
toJson in interface Renderer<Graphic>Exceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||