Enum Class DialogType

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

public enum DialogType extends Enum<DialogType>
An enumeration of Dialog types.
  • Enum Constant Details

    • INFO

      public static final DialogType INFO
      Specifies a dialog of type 'Information'.
    • WARNING

      public static final DialogType WARNING
      Specifies a dialog of type 'Warning'.
    • ERROR

      public static final DialogType ERROR
      Specifies a dialog of type 'Error'.
    • CONFIRM

      public static final DialogType CONFIRM
      Specifies a dialog of type 'Confirmation'.
    • INPUT

      public static final DialogType INPUT
      Specifies a dialog of type 'Input'.
  • 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
    • getDefaultOption

      public DialogOption getDefaultOption()
      Returns the default DialogOption of this DialogType.
      Returns:
      the default DialogOption of this DialogType.
    • getDefaultTitle

      public String getDefaultTitle()
      Returns the default title of this DialogType.
      Returns:
      the default title of this DialogType.