Interface TextInputPanel.Builder

    • Method Detail

      • updateOn

        TextInputPanel.Builder updateOn​(UpdateOn updateOn)
        Parameters:
        updateOn - specifies when the underlying value should be updated
        Returns:
        this builder instance
      • columns

        TextInputPanel.Builder columns​(int columns)
        Parameters:
        columns - the number of colums in the text field
        Returns:
        this builder instance
      • upperCase

        TextInputPanel.Builder upperCase​(boolean upperCase)
        Parameters:
        upperCase - if true the text component convert all lower case input to upper case
        Returns:
        this builder instance
      • lowerCase

        TextInputPanel.Builder lowerCase​(boolean lowerCase)
        Parameters:
        lowerCase - if true the text component convert all upper case input to lower case
        Returns:
        this builder instance
      • selectAllOnFocusGained

        TextInputPanel.Builder selectAllOnFocusGained​(boolean selectAllOnFocusGained)
        Makes the text field select all when it gains focus
        Parameters:
        selectAllOnFocusGained - if true the component will select contents on focus gained
        Returns:
        this builder instance
      • dialogTitle

        TextInputPanel.Builder dialogTitle​(String dialogTitle)
        Parameters:
        dialogTitle - the input dialog title
        Returns:
        this builder instance
      • caption

        TextInputPanel.Builder caption​(String caption)
        If specified a titled border with the given caption is added to the input field
        Parameters:
        caption - the caption to display
        Returns:
        this builder instance
      • textAreaSize

        TextInputPanel.Builder textAreaSize​(Dimension textAreaSize)
        Parameters:
        textAreaSize - the input text area siz
        Returns:
        this builder instance
      • buttonFocusable

        TextInputPanel.Builder buttonFocusable​(boolean buttonFocusable)
        Parameters:
        buttonFocusable - true if the input button should be focusable
        Returns:
        this builder instance
      • maximumLength

        TextInputPanel.Builder maximumLength​(int maximumLength)
        Parameters:
        maximumLength - the maximum text length
        Returns:
        this builder instance