- All Implemented Interfaces:
Serializable,Comparable<TreeModelEvent.EventType>,Constable
- Enclosing class:
TreeModelEvent<N>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA subtree of figures has been added to a parent.A subtree of figures has been added to the root.The JavaFX Node of a single figure has been invalidated.A subtree of figures has been removed from its parent.A subtree of figures has been removed from the root.The root of the model changed.All JavaFX Nodes in a subtree of the figures have been invalidated. -
Method Summary
Modifier and TypeMethodDescriptionstatic TreeModelEvent.EventTypeReturns the enum constant of this class with the specified name.static TreeModelEvent.EventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROOT_CHANGED
The root of the model changed.- node is the new root.
- root is also the new root.
- parent is the old root.
-
SUBTREE_NODES_CHANGED
All JavaFX Nodes in a subtree of the figures have been invalidated. -
NODE_ADDED_TO_PARENT
A subtree of figures has been added to a parent.The subtree of figures is already part of the root, and has just been removed from another parent.
-
NODE_REMOVED_FROM_PARENT
A subtree of figures has been removed from its parent.The subtree of figures is still part of the root, and is about to be added to another parent.
-
NODE_ADDED_TO_TREE
A subtree of figures has been added to the root.The subtree of figures has become part of the root. This event is fired, before NODE_ADDED_TO_PARENT is fired.
-
NODE_REMOVED_FROM_TREE
A subtree of figures has been removed from the root.The subtree of figures is no longer part of the root. This event is fired, after NODE_REMOVED_FROM_PARENT is fired.
-
NODE_CHANGED
The JavaFX Node of a single figure has been invalidated.
-
-
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
-