Enum Class ConfiguratorDialog.CloseOption

java.lang.Object
java.lang.Enum<ConfiguratorDialog.CloseOption>
zleurtor.scanmanager.view.gui.ConfiguratorDialog.CloseOption
All Implemented Interfaces:
Serializable, Comparable<ConfiguratorDialog.CloseOption>, Constable
Enclosing class:
ConfiguratorDialog

public static enum ConfiguratorDialog.CloseOption extends Enum<ConfiguratorDialog.CloseOption>
The enum defining all the close options.
Author:
Zleurtor
  • Enum Constant Details

    • CANCEL

      public static final ConfiguratorDialog.CloseOption CANCEL
      The option selected when the user close the dialog using the "cancel" button.
    • APPLY_SELECTED

      public static final ConfiguratorDialog.CloseOption APPLY_SELECTED
      The option selected when the user close the dialog using the "apply to selected" button.
    • APPLY_ALL

      public static final ConfiguratorDialog.CloseOption APPLY_ALL
      The option selected when the user close the dialog using the "apply to all" button.
  • Method Details

    • values

      public static ConfiguratorDialog.CloseOption[] 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 ConfiguratorDialog.CloseOption 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