Class TextInputPanel

    • Method Detail

      • setText

        public void setText​(String text)
        Parameters:
        text - the text to set
        Throws:
        IllegalArgumentException - in case the text length exceeds maximum length
      • getText

        public String getText()
        Returns:
        the current input text value
      • textField

        public JTextField textField()
        Returns:
        the text field
      • button

        public JButton button()
        Returns:
        the input dialog button
      • setEnabled

        public void setEnabled​(boolean enabled)
        Overrides:
        setEnabled in class JComponent
      • setTransferFocusOnEnter

        public void setTransferFocusOnEnter​(boolean transferFocusOnEnter)
        Parameters:
        transferFocusOnEnter - specifies whether focus should be transferred on Enter