Module is.codion.swing.common.ui
Interface ButtonPanelBuilder
- All Superinterfaces:
ComponentBuilder<Void,
,JPanel, ButtonPanelBuilder> ControlPanelBuilder<JPanel,
ButtonPanelBuilder>
Builds a JPanel with buttons.
-
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 ButtonPanelBuilder
builder()
static ButtonPanelBuilder
static ButtonPanelBuilder
builder
(Controls.ControlsBuilder controlsBuilder) static ButtonPanelBuilder
buttonGap
(int buttonGap) Default isLayouts.GAP
.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.ControlPanelBuilder
action, buttonBuilder, buttonsFocusable, checkBoxBuilder, controls, includeButtonText, orientation, preferredButtonSize, radioButtonBuilder, separator, toggleButtonBuilder, toggleButtonType
-
Method Details
-
buttonGap
Default isLayouts.GAP
.- Parameters:
buttonGap
- the gap between buttons in pixels- Returns:
- this builder instance
-
builder
- Returns:
- a new button panel builder
-
builder
- Parameters:
actions
- the actions- Returns:
- a new button panel builder
-
builder
- Parameters:
controls
- the controls- Returns:
- a new button panel builder
-
builder
- Parameters:
controlsBuilder
- the controls builder- Returns:
- a new button panel builder
-