public interface LegendEvent extends FMapEvent
LegendEvent
represents an event produced at a legend in a layer.
FMapEvent
Modifier and Type | Field and Description |
---|---|
static int |
LEGEND_CHANGED
Identifies this event as a changed of a legend.
|
static int |
LEGEND_CLASSIFICATION_CHANGED
Deprecated.
use VectorLegendEvent
|
static int |
LEGEND_CLEARED
Identifies this event as a clear of a legend.
|
static int |
LEGEND_INTERVAL_CHANGED
Deprecated.
use VectorLegendEvent
|
static int |
LEGEND_SYMBOL_CHANGED
Deprecated.
use VectorLegendEvent
|
static int |
LEGEND_VALUE_CHANGED
Identifies this event as a change of the value of a legend.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventSubtype()
Gets the subtype of this event.
|
ClassifiableVectorial |
getLayer()
Deprecated.
use VectorLegendEvent
|
void |
setEventSubtype(int eventSubtype)
Sets the subtype of the event.
|
void |
setLayer(ClassifiableVectorial layer)
Deprecated.
use VectorLegendEvent
|
getEventType, setEventType
static final int LEGEND_CHANGED
Identifies this event as a changed of a legend.
static final int LEGEND_VALUE_CHANGED
Identifies this event as a change of the value of a legend.
static final int LEGEND_SYMBOL_CHANGED
Identifies this event as a change of the symbol of a legend.
static final int LEGEND_INTERVAL_CHANGED
Identifies this event as a legend interval change.
static final int LEGEND_CLEARED
Identifies this event as a clear of a legend.
static final int LEGEND_CLASSIFICATION_CHANGED
Identifies this event as a change on the classification of a legend.
ClassifiableVectorial getLayer()
Returns the layer of the legend where the event was produced, as a classifiable and vector layer.
void setLayer(ClassifiableVectorial layer)
Sets the layer of the legend where the event was produced, as a classifiable and vector layer.
layer
- the layer where the event was produced, as classifiable vectorint getEventSubtype()
Gets the subtype of this event.
void setEventSubtype(int eventSubtype)
Sets the subtype of the event.
eventSubtype
- the number that identifies this event's type