Enum URLTextAreaButton.Mode

java.lang.Object
java.lang.Enum<URLTextAreaButton.Mode>
org.bzdev.swing.URLTextAreaButton.Mode
All Implemented Interfaces:
Serializable, Comparable<URLTextAreaButton.Mode>
Enclosing class:
URLTextAreaButton

public static enum URLTextAreaButton.Mode extends Enum<URLTextAreaButton.Mode>
The mode of the component.
  • Enum Constant Details

    • USE_OUTPUT_NO_STATE

      public static final URLTextAreaButton.Mode USE_OUTPUT_NO_STATE
      When the text area's dialog box appears, its state is created by calling inputURLInUse and either inputText or inputURL. When the dialog box is closed, its state is stored by calling outputURLInUse and either outputURL or outputText.
    • USE_OUTPUT_WITH_STATE

      public static final URLTextAreaButton.Mode USE_OUTPUT_WITH_STATE
      Text is stored in the component. When the dialog box is closed, its state is stored by calling outputURLInUse and either outputURL or outputText.
    • NO_OUTPUT_WITH_STATE

      public static final URLTextAreaButton.Mode NO_OUTPUT_WITH_STATE
      Text is stored in the component and neither inputURLInUse, inputText, inputURL, outputURLInUse, outputText, nor outputURL will be called.
  • Method Details

    • values

      public static URLTextAreaButton.Mode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static URLTextAreaButton.Mode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null