Module is.codion.swing.common.ui
Interface CheckBoxBuilder
- All Superinterfaces:
ButtonBuilder<Boolean,
,JCheckBox, CheckBoxBuilder> ComponentBuilder<Boolean,
,JCheckBox, CheckBoxBuilder> ToggleButtonBuilder<JCheckBox,
CheckBoxBuilder>
Builds a JCheckBox.
-
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 CheckBoxBuilder
builder()
static CheckBoxBuilder
nullable
(boolean nullable) Methods inherited from interface is.codion.swing.common.ui.component.button.ButtonBuilder
action, actionListener, borderPainted, buttonGroup, contentAreaFilled, control, control, disabledIcon, disabledSelectedIcon, focusPainted, horizontalAlignment, horizontalTextPosition, icon, iconTextGap, includeText, margin, mnemonic, multiClickThreshold, pressedIcon, rolloverEnabled, rolloverIcon, rolloverSelectedIcon, selected, selectedIcon, text, verticalAlignment, verticalTextPosition
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.button.ToggleButtonBuilder
toggleControl, toggleControl
-
Method Details
-
nullable
- Parameters:
nullable
- if true then aNullableCheckBox
is built.- Returns:
- this builder instance
-
builder
- Returns:
- a builder for a component
-
builder
- Parameters:
linkedValue
- the value to link to the check-box- Returns:
- a builder for a component
-