Module is.codion.swing.common.ui
Interface CheckBoxMenuItemBuilder<B extends CheckBoxMenuItemBuilder<B>>
- All Superinterfaces:
ButtonBuilder<Boolean,
,JCheckBoxMenuItem, B> ComponentBuilder<Boolean,
,JCheckBoxMenuItem, B> ToggleMenuItemBuilder<JCheckBoxMenuItem,
B>
public interface CheckBoxMenuItemBuilder<B extends CheckBoxMenuItemBuilder<B>>
extends ToggleMenuItemBuilder<JCheckBoxMenuItem,B>
Builds a JCheckBoxMenuItem.
-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.swing.common.ui.component.button.ToggleMenuItemBuilder
ToggleMenuItemBuilder.PersistMenu
-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
COMPONENT_VALUE, TRANSFER_FOCUS_ON_ENTER
Fields inherited from interface is.codion.swing.common.ui.component.button.ToggleMenuItemBuilder
PERSIST_MENU
-
Method Summary
Modifier and TypeMethodDescriptionstatic <B extends CheckBoxMenuItemBuilder<B>>
CheckBoxMenuItemBuilder<B>builder()
static <B extends CheckBoxMenuItemBuilder<B>>
CheckBoxMenuItemBuilder<B>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, name, 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.ToggleMenuItemBuilder
persistMenu, toggleControl, toggleControl
-
Method Details
-
builder
- Type Parameters:
B
- the builder type- Returns:
- a builder for a JCheckBoxMenuItem
-
builder
static <B extends CheckBoxMenuItemBuilder<B>> CheckBoxMenuItemBuilder<B> builder(Value<Boolean> linkedValue) - Type Parameters:
B
- the builder type- Parameters:
linkedValue
- the value to link to the menu item- Returns:
- a builder for a JCheckBoxMenuItem
-