| java.lang.Object | |
| ↳ | com.esri.core.map.Legend |
The Legend class provides a legend's symbol and label.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Legend()
Creates a Legend object.
| |||||||||||
|
Legend(Bitmap image, String label)
Creates a Legend object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static Legend |
fromJson(JsonParser parser)
From json.
| ||||||||||
| String |
getContentType()
Return the content type.
| ||||||||||
| Bitmap |
getImage()
Returns the legend's image.
| ||||||||||
| String |
getLabel()
Returns the legend's label.
| ||||||||||
| List<String> |
getValues()
Return legend values.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a Legend object.
Creates a Legend object.
| image | the legend's symbol |
|---|---|
| label | the legend's label |
Returns the legend's image.