Module is.codion.swing.common.ui
Interface TextPaneBuilder
- All Superinterfaces:
ComponentBuilder<JTextPane,,TextPaneBuilder> ComponentValueBuilder<JTextPane,,String, TextPaneBuilder> Supplier<JTextPane>,TextComponentBuilder<JTextPane,String, TextPaneBuilder>
Builds a JTextPane.
-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.swing.common.ui.component.text.TextComponentBuilder
TextComponentBuilder.CaretPosition -
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentValueBuilder
COMPONENT_VALUE -
Method Summary
Modifier and TypeMethodDescriptionautoscrolls(boolean autoscrolls) Autoscrolling is enabled by the text UI if not specified.static TextPaneBuilderbuilder()document(StyledDocument document) Methods inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
ancestorListener, background, border, build, build, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusable, focusCycleRoot, focusListener, font, font, foreground, get, hierarchyListener, keyEvent, keyListener, label, label, label, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, name, onBuild, onSetVisible, opaque, popupControl, popupControls, popupControls, popupMenu, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, toolTipText, transferFocusOnEnter, transferFocusOnEnter, transferHandler, visible, visibleMethods inherited from interface is.codion.swing.common.ui.component.builder.ComponentValueBuilder
buildValue, buildValue, changeConsumer, changeListener, consumer, link, link, listener, modified, modifiedIndicator, onBuildValue, valid, valid, validationIndicator, validator, value, warned, weakChangeConsumer, weakChangeListener, weakConsumer, weakListener, when, when, when, whenMethods inherited from interface is.codion.swing.common.ui.component.text.TextComponentBuilder
caretListener, caretPosition, caretUpdatePolicy, controlDeleteWord, disabledTextColor, documentListener, dragEnabled, editable, focusAccelerator, lowerCase, margin, maximumLength, moveCaretToEndOnFocusGained, moveCaretToStartOnFocusGained, selectAllOnFocusGained, selectedTextColor, selectionColor, updateOn, upperCase
-
Method Details
-
autoscrolls
Autoscrolling is enabled by the text UI if not specified.- Parameters:
autoscrolls- true if autoscrolling should be enabled- Returns:
- this builder instance
- See Also:
-
document
- Parameters:
document- the document- Returns:
- this builder instance
- See Also:
-
builder
- Returns:
- a builder for a component
-