Package org.zkoss.zul

Enum Class Messagebox.Button

java.lang.Object
java.lang.Enum<Messagebox.Button>
org.zkoss.zul.Messagebox.Button
All Implemented Interfaces:
Serializable, Comparable<Messagebox.Button>, Constable
Enclosing class:
Messagebox

public static enum Messagebox.Button extends Enum<Messagebox.Button>
The button types.
Since:
6.0.0
  • Enum Constant Details

  • Field Details

    • id

      public final int id
      The unique ID to represent this button type.
    • event

      public final String event
      The event name associated with this button type.
    • label

      public final int label
      The message ID used for loading the label.
      See Also:
      • Messages
  • Method Details

    • values

      public static Messagebox.Button[] 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 Messagebox.Button 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