public interface ILegend extends Legend
Modifier and Type | Method and Description |
---|---|
void |
addLegendListener(LegendContentsChangedListener listener)
Adds a new listener to the legend.
|
ILegend |
cloneLegend()
Clones the legend.
|
void |
fireDefaultSymbolChangedEvent(SymbolLegendEvent event)
Deprecated.
|
ISymbol |
getDefaultSymbol()
Deprecated.
if vectorial legend use IVectorLegend
|
LegendContentsChangedListener[] |
getListeners()
Deprecated.
|
void |
removeLegendListener(LegendContentsChangedListener listener)
Removes a listener from the legend.
|
loadFromState, saveToState
ISymbol getDefaultSymbol()
ILegend cloneLegend()
void addLegendListener(LegendContentsChangedListener listener)
listener
- to be addedvoid removeLegendListener(LegendContentsChangedListener listener)
listener
- to be removedvoid fireDefaultSymbolChangedEvent(SymbolLegendEvent event)
event
- LegendContentsChangedListener[] getListeners()