|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.renderer.DictionaryRenderer
public class DictionaryRenderer
A Dictionary Renderer implements Advanced Symbology
Field Summary | |
---|---|
static String |
TYPE
|
Constructor Summary | |
---|---|
protected |
DictionaryRenderer(org.codehaus.jackson.JsonNode node)
|
Method Summary | |
---|---|
double |
getLabelMaxScale()
Gets the maximum scale at which labels are visible |
double |
getLabelMinScale()
Gets the minimum scale at which labels are visible |
boolean |
getLabelsVisible()
Determines whether labels are visible at any scale |
Symbol |
getSymbol(Graphic graphic)
Subclasses must override this method. |
double |
getSymbolScaleFactor()
Get the scale factor applied to point marker symbols |
void |
setLabelMaxScale(double maxScale)
Sets the maximum scale at which labels are visible |
void |
setLabelMinScale(double minScale)
Sets the minimum scale at which labels are visible |
void |
setLabelsVisible(boolean visible)
Set whether labels are visible at any scale |
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 |
---|
protected DictionaryRenderer(org.codehaus.jackson.JsonNode node) throws Exception
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
public double getLabelMaxScale()
public void setLabelMaxScale(double maxScale)
maxScale
- The maximum scalepublic double getLabelMinScale()
public void setLabelMinScale(double minScale)
minScale
- The minimum scalepublic boolean getLabelsVisible()
public void setLabelsVisible(boolean visible)
visible
- The label visibilitypublic double getSymbolScaleFactor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |