public class SymbolLegendEvent extends ClassificationLegendEvent
Event produced when changes one of the symbols of a classified legend.
FMapEvent
LEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, LEGEND_VALUE_CHANGED
Constructor and Description |
---|
SymbolLegendEvent(ISymbol oldSymbol,
ISymbol newSymbol)
Creates a new symbol legend event.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventType()
Returns the type of this legend event.
|
ISymbol |
getNewSymbol()
Gets the new symbol style.
|
ISymbol |
getOldSymbol()
Gets the previous symbol style.
|
getClassIndex
getLayer, setLayer
setEventType
public ISymbol getOldSymbol()
Gets the previous symbol style.
public ISymbol getNewSymbol()
Gets the new symbol style.
public int getEventType()
Returns the type of this legend event.
getEventType
in class ClassificationLegendEvent
LegendEvent.LEGEND_SYMBOL_CHANGED