Module is.codion.swing.common.ui
Interface TemporalFieldPanel.Builder<T extends Temporal>
- Type Parameters:
T
- the temporal type
- All Superinterfaces:
ComponentBuilder<T,
TemporalFieldPanel<T>, TemporalFieldPanel.Builder<T>>
- Enclosing class:
- TemporalFieldPanel<T extends Temporal>
public static interface TemporalFieldPanel.Builder<T extends Temporal>
extends ComponentBuilder<T,TemporalFieldPanel<T>,TemporalFieldPanel.Builder<T>>
Builds a
TemporalFieldPanel
-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionbuttonFocusable
(boolean buttonFocusable) Default false.calendarIcon
(ImageIcon calendarIcon) columns
(int columns) selectAllOnFocusGained
(boolean selectAllOnFocusGained) 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
-
selectAllOnFocusGained
- Parameters:
selectAllOnFocusGained
- if true the component will select contents on focus gained- Returns:
- this builder instance
-
columns
- Parameters:
columns
- the number of colums in the temporal field- Returns:
- this builder instance
-
updateOn
- Parameters:
updateOn
- specifies when the underlying value should be updated- Returns:
- this builder instance
-
buttonFocusable
Default false.- Parameters:
buttonFocusable
- true if the calendar button should be focusable- Returns:
- this builder instance
-
calendarIcon
- Parameters:
calendarIcon
- the calendar icon- Returns:
- this builder instance
-