Class TextOption

All Implemented Interfaces:
Serializable, Option, OptionElement, OptionProperties
Direct Known Subclasses:
PasswordOption, PlainTextOption

public abstract class TextOption extends AbstractOption
Text option displayed as a text field.
Author:
Laurent Cohen
See Also:
  • Field Details

    • field

      protected JTextField field
      Text field containing the option value as text.
    • fieldLabel

      protected JLabel fieldLabel
      Label associated with the text field.
  • Constructor Details

    • TextOption

      public TextOption()
      Constructor provided as a convenience to facilitate the creation of option elements through reflexion.
    • TextOption

      public TextOption(String name, String label, String tooltip, String value)
      Initialize this text option with the specified parameters.
      Parameters:
      name - this component's name.
      label - the label displayed with the checkbox.
      tooltip - the tooltip associated with the checkbox.
      value - the initial value of this component.
  • Method Details