public class LegendEvent extends FMapEvent
LegendEvent
represents an event produced at a legend in a layer.
FMapEvent
Modifier and Type | Field and Description |
---|---|
static int |
LEGEND_CLASSIFICATION_CHANGED
Identifies this event as a change on the classification of a legend.
|
static int |
LEGEND_CLEARED
Identifies this event as a clear of a legend.
|
static int |
LEGEND_INTERVAL_CHANGED
Identifies this event as a legend interval change.
|
static int |
LEGEND_SYMBOL_CHANGED
Identifies this event as a change of the symbol of a legend.
|
static int |
LEGEND_VALUE_CHANGED
Identifies this event as a change of the value of a legend.
|
Constructor and Description |
---|
LegendEvent() |
Modifier and Type | Method and Description |
---|---|
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.
|
getEventType, setEventType
public static final int LEGEND_VALUE_CHANGED
Identifies this event as a change of the value of a legend.
public static final int LEGEND_SYMBOL_CHANGED
Identifies this event as a change of the symbol of a legend.
public static final int LEGEND_INTERVAL_CHANGED
Identifies this event as a legend interval change.
public static final int LEGEND_CLEARED
Identifies this event as a clear of a legend.
public static final int LEGEND_CLASSIFICATION_CHANGED
Identifies this event as a change on the classification of a legend.
public ClassifiableVectorial getLayer()
Returns the layer of the legend where the event was produced, as a classifiable and vector layer.
setLayer(ClassifiableVectorial)
public 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 vectorgetLayer()