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
COMPONENT_VALUE, TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionbuttonFocusable
(boolean buttonFocusable) Default false.calendarIcon
(ImageIcon calendarIcon) columns
(int columns) dateTimePattern
(String dateTimePattern) selectAllOnFocusGained
(boolean selectAllOnFocusGained) 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, name, onBuild, onBuildValue, onSetVisible, opaque, popupMenu, popupMenuControl, popupMenuControls, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, transferFocusOnEnter, transferHandler, validator, value, visible
-
Method Details
-
dateTimePattern
- Parameters:
dateTimePattern
- the date time pattern- Returns:
- this builder instance
-
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
-