Enum Class IListbox.Autosort

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

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

    • ENABLE

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

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

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

    • values

      public static IListbox.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 IListbox.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