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
TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Static MethodsModifier 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, clear, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, 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
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
-