Class Gui.Field_uri

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants
Enclosing class:
Gui

public class Gui.Field_uri extends JTextField
Widget for the input of one uri argument. When double-clicked, it opens a file select box.
See Also:
  • Field Details

    • dirOnly

      final boolean dirOnly
      Evident
    • fileOnly

      final boolean fileOnly
      Evident
    • writableOnly

      final boolean writableOnly
      Evident
  • Constructor Details

    • Field_uri

      public Field_uri(boolean dirOnly, boolean fileOnly, boolean writableOnly)
      Evident. The arguments restrict the files to choose.
  • Method Details

    • get_value

      public String get_value()
      Return result as a mere text string, which may be empty or have any syntax.
    • set_value

      public void set_value(@Opt @Opt String value)
      Set the current value. Transform a null input into a warning text which is very unlikely to be mixed up with a valid file name input.
    • getToolTipText

      public String getToolTipText(MouseEvent ev)
      Evident
      Overrides:
      getToolTipText in class JTextComponent