|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.internal.value.LegendItemInfo
public class LegendItemInfo

This class represents a single legend item which consists of an image and a label.
| Method Summary | |
|---|---|
static LegendItemInfo |
fromJson(org.codehaus.jackson.JsonParser parser,
LayerLegendInfo parentLegendInfo)
Create an instance of this class with a JsonParser initialised with the correct JSON string. |
String |
getContentType()
Gets the content type. |
byte[] |
getImageBytes()
Gets the image bytes. |
String |
getImageUrl()
Gets the image url. |
String |
getLabel()
Gets the label. |
ArrayList<String> |
getValues()
Gets the values associated with this legend item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getLabel()
public String getImageUrl()
public byte[] getImageBytes()
public String getContentType()
public ArrayList<String> getValues()
public static LegendItemInfo fromJson(org.codehaus.jackson.JsonParser parser,
LayerLegendInfo parentLegendInfo)
throws Exception
parser - the parserparentLegendInfo - the parent legend info
Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||