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
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, 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
-
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
-