Enum Class ITree.Autosort

java.lang.Object
java.lang.Enum<ITree.Autosort>
org.zkoss.stateless.sul.ITree.Autosort
All Implemented Interfaces:
Serializable, Comparable<ITree.Autosort>, Constable
Enclosing interface:
ITree

public static enum ITree.Autosort extends Enum<ITree.Autosort>
Specifies whether to sort the model when the following cases: If you want to ignore sorting when receiving TreeDataEvent, you can specify the value as IGNORE_CHANGE.
  • Enum Constant Details

    • ENABLE

      public static final ITree.Autosort ENABLE
      Enables the auto-sort facility.
    • NONE

      public static final ITree.Autosort NONE
      Disables the auto-sort facility.
    • IGNORE_CHANGE

      public static final ITree.Autosort IGNORE_CHANGE
      Ignores to sort when the TreeDataEvent is sent.
  • Method Details

    • values

      public static ITree.Autosort[] 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 ITree.Autosort 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