Enum Class TreeviewSelectionTypes

java.lang.Object
java.lang.Enum<TreeviewSelectionTypes>
com.jbstrap.ui.components.treeview.TreeviewSelectionTypes
All Implemented Interfaces:
Serializable, Comparable<TreeviewSelectionTypes>, Constable

public enum TreeviewSelectionTypes extends Enum<TreeviewSelectionTypes>
The treeview component selection types
Since:
4.0
Author:
JBStrap
  • Enum Constant Details

    • SINGLE_NODE_SELECT

      public static final TreeviewSelectionTypes SINGLE_NODE_SELECT
      Single node select. If the user selects a node, it will be in a selected state, the other nodes' status will not change.
    • SELECT_NODE_AND_ANY_CHILD_NODES

      public static final TreeviewSelectionTypes SELECT_NODE_AND_ANY_CHILD_NODES
      If the user selects a node that has child nodes, every child node will also be selected. If the user selects a node with no child nodes, only that node will be selected.
    • SELECT_NODE_AND_ANY_PARENT_NODE

      public static final TreeviewSelectionTypes SELECT_NODE_AND_ANY_PARENT_NODE
      If the user selects a node, all of it's parent nodes will also be selected. If the user selects a root node, the other nodes' status will not change
  • Method Details

    • values

      public static TreeviewSelectionTypes[] 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 TreeviewSelectionTypes 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