Enum Class DialogAction

java.lang.Object
java.lang.Enum<DialogAction>
cl.obcom.desktopfx.jfx.DialogAction
All Implemented Interfaces:
Serializable, Comparable<DialogAction>, Constable

public enum DialogAction extends Enum<DialogAction>
An enumeration of Dialog action buttons.
  • Enum Constant Details

    • CLOSE

      public static final DialogAction CLOSE
      Indicates that the 'Close' button was selected.
    • OK

      public static final DialogAction OK
      Indicates that the 'OK' button was selected.
    • YES

      public static final DialogAction YES
      Indicates that the 'Yes' button was selected.
    • NO

      public static final DialogAction NO
      Indicates that the 'No' button was selected.
    • CANCEL

      public static final DialogAction CANCEL
      Indicates that the 'Cancel' button was selected.
    • ATTACH_DETACH

      public static final DialogAction ATTACH_DETACH
      Indicates that the 'Attach/Detach' button was selected.
  • Method Details

    • values

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