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
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, 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
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
-