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
TRANSFER_FOCUS_ON_ENTER
Fields inherited from interface is.codion.swing.common.ui.component.button.ToggleMenuItemBuilder
PERSIST_MENU
-
Method Summary
Static MethodsModifier 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, clear, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusCycleRoot, focusListener, font, foreground, initialValue, keyEvent, keyListener, label, link, link, 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.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
-