Class GUIHelper.AbstractInputPanel

    • Constructor Detail

      • AbstractInputPanel

        protected AbstractInputPanel​(String msg,
                                     String initial)
        Initializes the panel.
        Parameters:
        msg - the message to display
        initial - the initial value to use for the input value
    • Method Detail

      • setMessage

        public abstract void setMessage​(String msg)
        Sets the message to display.
        Parameters:
        msg - the message
      • setValue

        public abstract void setValue​(String value)
        Sets the value to use.
        Parameters:
        value - the value
      • getValue

        public abstract String getValue()
        Returns the value that the user entered (if any).
        Returns:
        the entered/initial value
      • setIcon

        public void setIcon​(String value)
        Sets the icon to use.
        Parameters:
        value - the icon name
      • getIcon

        public String getIcon()
        Returns the icon to use.
        Returns:
        the icon name