Module is.codion.swing.common.ui
Interface TextAreaBuilder
- All Superinterfaces:
ComponentBuilder<String,
,JTextArea, TextAreaBuilder> TextComponentBuilder<String,
JTextArea, TextAreaBuilder>
Builds a JTextArea.
-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionautoscrolls
(boolean autoscrolls) static TextAreaBuilder
builder()
static TextAreaBuilder
lineWrap
(boolean lineWrap) rows
(int rows) rowsColumns
(int rows, int columns) tabSize
(int tabSize) wrapStyleWord
(boolean wrapStyleWord) Methods inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
background, border, build, build, buildValue, clear, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusCycleRoot, focusListener, font, foreground, initialValue, keyEvent, keyListener, label, linkedValue, linkedValue, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, onBuild, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator, visible
Methods inherited from interface is.codion.swing.common.ui.component.text.TextComponentBuilder
caretListener, controlDeleteWord, disabledTextColor, dragEnabled, editable, focusAccelerator, lowerCase, margin, maximumLength, moveCaretToEndOnFocusGained, moveCaretToStartOnFocusGained, onTextChanged, selectAllOnFocusGained, selectedTextColor, selectionColor, updateOn, upperCase
-
Method Details
-
rows
- Parameters:
rows
- the number of rows in the text area- Returns:
- this builder instance
- See Also:
-
rowsColumns
- Parameters:
rows
- the rowscolumns
- the columns- Returns:
- this builder instance
- See Also:
-
lineWrap
- Parameters:
lineWrap
- true if line wrap should be used- Returns:
- this builder instance
- See Also:
-
wrapStyleWord
- Parameters:
wrapStyleWord
- true if wrap style word should be used- Returns:
- this builder instance
- See Also:
-
autoscrolls
- Parameters:
autoscrolls
- true if autoscrolling should be enabled- Returns:
- this builder instance
- See Also:
-
tabSize
- Parameters:
tabSize
- the tab size- Returns:
- this builder instance
- See Also:
-
document
- Parameters:
document
- the document- Returns:
- this builder instance
- See Also:
-
builder
- Returns:
- a builder for a component
-
builder
- Parameters:
linkedValue
- the value to link to the component- Returns:
- a builder for a component
-