Enum Class TreeModelEvent.EventType

java.lang.Object
java.lang.Enum<TreeModelEvent.EventType>
org.jhotdraw8.fxbase.tree.TreeModelEvent.EventType
All Implemented Interfaces:
Serializable, Comparable<TreeModelEvent.EventType>, Constable
Enclosing class:
TreeModelEvent<N>

public static enum TreeModelEvent.EventType extends Enum<TreeModelEvent.EventType>
  • Enum Constant Details

    • ROOT_CHANGED

      public static final TreeModelEvent.EventType 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

      public static final TreeModelEvent.EventType SUBTREE_NODES_CHANGED
      All JavaFX Nodes in a subtree of the figures have been invalidated.
    • NODE_ADDED_TO_PARENT

      public static final TreeModelEvent.EventType 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

      public static final TreeModelEvent.EventType 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

      public static final TreeModelEvent.EventType 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

      public static final TreeModelEvent.EventType 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

      public static final TreeModelEvent.EventType NODE_CHANGED
      The JavaFX Node of a single figure has been invalidated.
  • Method Details

    • values

      public static TreeModelEvent.EventType[] 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

      public static TreeModelEvent.EventType valueOf(String name)
      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 name
      NullPointerException - if the argument is null