Enum Class DialogType

java.lang.Object
java.lang.Enum<DialogType>
net.anwiba.commons.swing.dialog.DialogType
All Implemented Interfaces:
Serializable, Comparable<DialogType>, Constable

public enum DialogType extends Enum<DialogType>
  • Enum Constant Details

    • CLOSE

      public static final DialogType CLOSE
    • CLOSE_DETIALS

      public static final DialogType CLOSE_DETIALS
    • CANCEL

      public static final DialogType CANCEL
    • CANCEL_OK

      public static final DialogType CANCEL_OK
    • CANCEL_APPLY_OK

      public static final DialogType CANCEL_APPLY_OK
    • CANCEL_TRY_OK

      public static final DialogType CANCEL_TRY_OK
    • YES_NO

      public static final DialogType YES_NO
    • NONE

      public static final DialogType NONE
    • OK

      public static final DialogType OK
  • Method Details

    • values

      public static DialogType[] 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 DialogType 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
    • accept

      public abstract <T> T accept(IDialogTypeVisitor<T> visitor)
    • isConfirmable

      public boolean isConfirmable()