Enum Class GTreeSelectionEvent.EventOrigin

java.lang.Object
java.lang.Enum<GTreeSelectionEvent.EventOrigin>
docking.widgets.tree.support.GTreeSelectionEvent.EventOrigin
All Implemented Interfaces:
Serializable, Comparable<GTreeSelectionEvent.EventOrigin>, Constable
Enclosing class:
GTreeSelectionEvent

public static enum GTreeSelectionEvent.EventOrigin extends Enum<GTreeSelectionEvent.EventOrigin>
An enum that contains the origin of the GTreeSelectionEvent (see each enum for more details).
  • Enum Constant Details

    • API_GENERATED

      public static final GTreeSelectionEvent.EventOrigin API_GENERATED
      This event was triggered by an API on the GTree interface
    • INTERNAL_GENERATED

      public static final GTreeSelectionEvent.EventOrigin INTERNAL_GENERATED
      This event was triggered by an internal GTree selection change (e.g., filter change)
    • USER_GENERATED

      public static final GTreeSelectionEvent.EventOrigin USER_GENERATED
      This event was triggered by the user changing the selection via the GUI
  • Method Details

    • values

      public static GTreeSelectionEvent.EventOrigin[] 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 GTreeSelectionEvent.EventOrigin 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