Module is.codion.swing.common.ui
Interface TextAreaBuilder
- All Superinterfaces:
ComponentBuilder<String,
,JTextArea, TextAreaBuilder> TextComponentBuilder<String,
JTextArea, TextAreaBuilder>
Builds a JTextArea.
-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.swing.common.ui.component.text.TextComponentBuilder
TextComponentBuilder.InitialCaretPosition
-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
COMPONENT_VALUE, 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, buildValue, clientProperty, componentListener, componentOrientation, consumer, enabled, enabled, focusable, focusCycleRoot, focusListener, font, foreground, keyEvent, keyListener, label, link, link, listener, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, onBuild, onBuildValue, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator, value, visible
Methods inherited from interface is.codion.swing.common.ui.component.text.TextComponentBuilder
caretListener, caretUpdatePolicy, controlDeleteWord, disabledTextColor, dragEnabled, editable, focusAccelerator, initialCaretPosition, 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
-