|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
Creates a simple renderer from a JSON node. |
|
SimpleRenderer(Symbol symbol)
Instantiates SimpleRenderer with a symbol. |
Method Summary | |
---|---|
Symbol |
getSymbol(Graphic graphic)
Subclasses must override this method. |
String |
toJson()
Converts the render to a Json String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TYPE
Constructor Detail |
---|
public SimpleRenderer(Symbol symbol)
symbol
- The graphic symbol.public SimpleRenderer(org.codehaus.jackson.JsonNode node) throws Exception
node
- The JSON node.
Exception
Method Detail |
---|
public Symbol getSymbol(Graphic graphic)
Renderer
getSymbol
in interface Renderer<Graphic>
graphic
- The Graphic to symbolize.
public String toJson() throws Exception
Renderer
toJson
in interface Renderer<Graphic>
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |