Enum Class TocModelChangedNotification.Type
java.lang.Object
java.lang.Enum<TocModelChangedNotification.Type>
org.gvsig.app.project.documents.layout.TocModelChangedNotification.Type
- All Implemented Interfaces:
Serializable,Comparable<TocModelChangedNotification.Type>,Constable
- Enclosing interface:
TocModelChangedNotification
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere has been some update on an existing item of the model collection (visibility changed, item selected, etc)An item has been added or removed to the model (layer added, removed, reordered, etc)The model (MapContext object) has been set (understood as added, removed or replaced) by a new one, including a null one. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TocModelChangedNotification.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODEL_SET
The model (MapContext object) has been set (understood as added, removed or replaced) by a new one, including a null one. -
MODEL_CHANGED
An item has been added or removed to the model (layer added, removed, reordered, etc) -
ITEM_UPDATED
There has been some update on an existing item of the model collection (visibility changed, item selected, etc)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-