Class TextOptionUI

  • All Implemented Interfaces:
    OptionUpdater

    public final class TextOptionUI
    extends OptionUI<TextOption>
    This class provides visualization for a TextOption in order to enable values to be both seen and changed.
    • Field Detail

      • box

        private final javax.swing.JTextField box
    • Constructor Detail

      • TextOptionUI

        public TextOptionUI​(TextOption option,
                            boolean editable)
        Creates a new TextOptionUI for the given TextOption.
        Parameters:
        option - The TextOption to make a user interface for.
        editable - boolean whether user can modify the setting.