Package com.esri.arcgisruntime.layers
Class LegendInfo
- java.lang.Object
-
- com.esri.arcgisruntime.layers.LegendInfo
-
public final class LegendInfo extends java.lang.ObjectRepresents a single legend item. Can be used to display a symbol and name for a feature.- Since:
- 100.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Gets the name of this legend item.SymbolgetSymbol()Gets the symbol to display for this legend item.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name of this legend item.- Returns:
- the name of this item
- Since:
- 100.0.0
-
getSymbol
public Symbol getSymbol()
Gets the symbol to display for this legend item.- Returns:
- the symbol to display for this item
- Since:
- 100.0.0
-
-