public class LegendEventBase extends FMapEventBase implements LegendEvent
LEGEND_CHANGED, LEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, LEGEND_VALUE_CHANGED
Constructor and Description |
---|
LegendEventBase() |
LegendEventBase(int type,
int subtype) |
Modifier and Type | Method and Description |
---|---|
int |
getEventSubtype()
Gets the subtype of this event.
|
ClassifiableVectorial |
getLayer()
Deprecated.
|
void |
setEventSubtype(int eventSubtype)
Sets the subtype of the event.
|
void |
setLayer(ClassifiableVectorial layer)
Deprecated.
|
getEventType, setEventType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventType, setEventType
public LegendEventBase()
public LegendEventBase(int type, int subtype)
subtype
- @Deprecated public ClassifiableVectorial getLayer()
LegendEvent
Returns the layer of the legend where the event was produced, as a classifiable and vector layer.
getLayer
in interface LegendEvent
@Deprecated public void setLayer(ClassifiableVectorial layer)
LegendEvent
Sets the layer of the legend where the event was produced, as a classifiable and vector layer.
setLayer
in interface LegendEvent
layer
- the layer where the event was produced, as classifiable vectorpublic int getEventSubtype()
LegendEvent
Gets the subtype of this event.
getEventSubtype
in interface LegendEvent
public void setEventSubtype(int eventSubtype)
LegendEvent
Sets the subtype of the event.
setEventSubtype
in interface LegendEvent
eventSubtype
- the number that identifies this event's type