Module is.codion.swing.common.ui
Interface ListSpinnerBuilder<T>
-
- All Superinterfaces:
ComponentBuilder<T,JSpinner,ListSpinnerBuilder<T>>
,SpinnerBuilder<T,ListSpinnerBuilder<T>>
public interface ListSpinnerBuilder<T> extends 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.ComponentBuilder
TRANSFER_FOCUS_ON_ENTER
-
-
Method Summary
Static Methods Modifier and Type Method Description static <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.ComponentBuilder
background, border, build, build, buildValue, clear, clientProperty, componentListener, componentOrientation, enabled, enabledState, focusable, focusListener, font, foreground, initialValue, keyEvent, keyListener, label, linkedValue, linkedValueObserver, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, onBuild, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator
-
Methods inherited from interface is.codion.swing.common.ui.component.spinner.SpinnerBuilder
columns, editable, horizontalAlignment, mouseWheelScrolling, mouseWheelScrollingReversed
-
-
-
-
Method Detail
-
builder
static <T> ListSpinnerBuilder<T> builder(SpinnerListModel spinnerModel)
- Type Parameters:
T
- the value type- Parameters:
spinnerModel
- the spinner model- Returns:
- a builder for a JSpinner
-
builder
static <T> ListSpinnerBuilder<T> builder(SpinnerListModel spinnerModel, Value<T> linkedValue)
- Type Parameters:
T
- the value type- Parameters:
spinnerModel
- the spinner modellinkedValue
- the value to link to the component- Returns:
- a builder for a JSpinner
-
-