Module is.codion.swing.common.ui
Interface ScrollPaneBuilder
- All Superinterfaces:
ComponentBuilder<Void,
JScrollPane, ScrollPaneBuilder>
A builder for JScrollPane
-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
COMPONENT_VALUE, TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScrollPaneBuilder
builder
(JComponent view) horizontalBlockIncrement
(int horizontalBlockIncrement) horizontalScrollBarPolicy
(int horizontalScrollBarPolicy) horizontalUnitIncrement
(int horizontalUnitIncrement) layout
(LayoutManager layout) verticalBlockIncrement
(int verticalBlockIncrement) verticalScrollBarPolicy
(int verticalScrollBarPolicy) verticalUnitIncrement
(int verticalUnitIncrement) wheelScrollingEnable
(boolean wheelScrollingEnabled) 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
-
Method Details
-
verticalScrollBarPolicy
- Parameters:
verticalScrollBarPolicy
- the vertical scroll bar policy- Returns:
- this builder instance
- See Also:
-
horizontalScrollBarPolicy
- Parameters:
horizontalScrollBarPolicy
- the horizontal scroll bar policy- Returns:
- this builder instance
- See Also:
-
verticalUnitIncrement
- Parameters:
verticalUnitIncrement
- the unit increment for the vertical scrollbar- Returns:
- this builder instance
- See Also:
-
horizontalUnitIncrement
- Parameters:
horizontalUnitIncrement
- the unit increment for the horizontal scrollbar- Returns:
- this builder instance
- See Also:
-
verticalBlockIncrement
- Parameters:
verticalBlockIncrement
- the block increment for the vertical scrollbar- Returns:
- this builder instance
- See Also:
-
horizontalBlockIncrement
- Parameters:
horizontalBlockIncrement
- the block increment for the horizontal scrollbar- Returns:
- this builder instance
- See Also:
-
wheelScrollingEnable
- Parameters:
wheelScrollingEnabled
- wheel scrolling enabled- Returns:
- this builder instance
-
layout
- Parameters:
layout
- the layout manager- Returns:
- this builder instance
- See Also:
-
builder
- Parameters:
view
- the view component- Returns:
- a new
ScrollPaneBuilder
instance
-