public static interface TextInputPanel.Builder extends ComponentBuilder<String,TextInputPanel,TextInputPanel.Builder>
TextInputPanel
.TRANSFER_FOCUS_ON_ENTER
Modifier and Type | Method and Description |
---|---|
TextInputPanel.Builder |
buttonFocusable(boolean buttonFocusable) |
TextInputPanel.Builder |
caption(String caption)
If specified a titled border with the given caption is added to the input field
|
TextInputPanel.Builder |
columns(int columns) |
TextInputPanel.Builder |
dialogTitle(String dialogTitle) |
TextInputPanel.Builder |
lowerCase(boolean lowerCase) |
TextInputPanel.Builder |
maximumLength(int maximumLength) |
TextInputPanel.Builder |
selectAllOnFocusGained(boolean selectAllOnFocusGained)
Makes the text field select all when it gains focus
|
TextInputPanel.Builder |
textAreaSize(Dimension textAreaSize) |
TextInputPanel.Builder |
updateOn(UpdateOn updateOn) |
TextInputPanel.Builder |
upperCase(boolean upperCase) |
background, border, build, build, buildComponentValue, clear, clientProperty, componentListener, componentOrientation, enabled, enabledState, focusable, focusListener, font, foreground, initialValue, keyEvent, keyListener, label, linkedValue, linkedValueObserver, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, onBuild, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator
TextInputPanel.Builder updateOn(UpdateOn updateOn)
updateOn
- specifies when the underlying value should be updatedTextInputPanel.Builder columns(int columns)
columns
- the number of colums in the text fieldTextInputPanel.Builder upperCase(boolean upperCase)
upperCase
- if true the text component convert all lower case input to upper caseTextInputPanel.Builder lowerCase(boolean lowerCase)
lowerCase
- if true the text component convert all upper case input to lower caseTextInputPanel.Builder selectAllOnFocusGained(boolean selectAllOnFocusGained)
selectAllOnFocusGained
- if true the component will select contents on focus gainedTextInputPanel.Builder dialogTitle(String dialogTitle)
dialogTitle
- the input dialog titleTextInputPanel.Builder caption(String caption)
caption
- the caption to displayTextInputPanel.Builder textAreaSize(Dimension textAreaSize)
textAreaSize
- the input text area sizTextInputPanel.Builder buttonFocusable(boolean buttonFocusable)
buttonFocusable
- true if the input button should be focusableTextInputPanel.Builder maximumLength(int maximumLength)
maximumLength
- the maximum text length