Module is.codion.swing.common.ui
Interface ItemSpinnerBuilder<T>
- All Superinterfaces:
ComponentBuilder<T,
,JSpinner, ItemSpinnerBuilder<T>> SpinnerBuilder<T,
ItemSpinnerBuilder<T>>
A builder for JSpinner based on a list of
Item
s.-
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 <T> ItemSpinnerBuilder<T>
builder
(SpinnerListModel spinnerModel) static <T> ItemSpinnerBuilder<T>
builder
(SpinnerListModel spinnerModel, Value<T> linkedValue) 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.spinner.SpinnerBuilder
columns, editable, horizontalAlignment, mouseWheelScrolling, mouseWheelScrollingReversed
-
Method Details
-
builder
- Type Parameters:
T
- the value type- Parameters:
spinnerModel
- the spinner model- Returns:
- a builder for a JSpinner
-
builder
- Type Parameters:
T
- the value type- Parameters:
spinnerModel
- the spinner modellinkedValue
- the value to link to the component- Returns:
- a builder for a JSpinner
-