Module is.codion.swing.common.ui
Interface ListSpinnerBuilder<T>
- All Superinterfaces:
ComponentBuilder<T,
,JSpinner, ListSpinnerBuilder<T>> SpinnerBuilder<T,
ListSpinnerBuilder<T>>
A builder for JSpinner based on a list of values.
-
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> ListSpinnerBuilder<T>
builder
(SpinnerListModel spinnerModel) static <T> ListSpinnerBuilder<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
-