Module is.codion.swing.common.ui
Interface ToolBarBuilder
- All Superinterfaces:
ComponentBuilder<Void,
,JToolBar, ToolBarBuilder> ControlPanelBuilder<JToolBar,
ToolBarBuilder>
A builder for a
JToolBar
.-
Field Summary
Fields inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
COMPONENT_VALUE, TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionborderPainted
(boolean borderPainted) static ToolBarBuilder
builder()
static ToolBarBuilder
static ToolBarBuilder
builder
(Controls.ControlsBuilder controlsBuilder) floatable
(boolean floatable) rollover
(boolean rollover) 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
-
floatable
- Parameters:
floatable
- true if the toolbar should be floatable- Returns:
- this builder instance
- See Also:
-
rollover
- Parameters:
rollover
- true if rollover should be enabled- Returns:
- this builder instance
- See Also:
-
borderPainted
- Parameters:
borderPainted
- true if the border should be painted- Returns:
- this builder instance
- See Also:
-
builder
- Returns:
- a new
ToolBarBuilder
-
builder
- Parameters:
controls
- the controls- Returns:
- a new
ToolBarBuilder
-
builder
- Parameters:
controlsBuilder
- the controls builder- Returns:
- a new
ToolBarBuilder
-