Package jade.gui

Class StringDlg

    • Constructor Detail

      • StringDlg

        public StringDlg​(Component parent,
                         String hint)
        Create a dialog with the given parent and initial string value.
        Parameters:
        parent - The parent component for this dialog.
        hint - The initial value for the manipulated string.
    • Method Detail

      • editString

        public String editString​(String value)
        Allow the user to manipulate a string value through this dialog.
        Parameters:
        value - The string value to edit.
        Returns:
        A new string, containing the edited value.
      • viewString

        public void viewString​(String value)
        Allows the user to view a string value through a read-only version of this dialog.
        Parameters:
        value - The string value to display.