public static enum TocModelChangedNotification.Type extends Enum<TocModelChangedNotification.Type>
Enum Constant and Description |
---|
ITEM_UPDATED
There has been some update on an existing item of the model
collection
(visibility changed, item selected, etc)
|
MODEL_CHANGED
An item has been added or removed to the model
(layer added, removed, reordered, etc)
|
MODEL_SET
The model (MapContext object) has been set (understood as
added, removed or replaced) by a new one, including a null one.
|
Modifier and Type | Method and Description |
---|---|
static TocModelChangedNotification.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TocModelChangedNotification.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TocModelChangedNotification.Type MODEL_SET
public static final TocModelChangedNotification.Type MODEL_CHANGED
public static final TocModelChangedNotification.Type ITEM_UPDATED
public static TocModelChangedNotification.Type[] values()
for (TocModelChangedNotification.Type c : TocModelChangedNotification.Type.values()) System.out.println(c);
public static TocModelChangedNotification.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null