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
TRANSFER_FOCUS_ON_ENTER
-
Method Summary
Modifier and TypeMethodDescriptionborderPainted
(boolean borderPainted) static ToolBarBuilder
builder()
static ToolBarBuilder
static ToolBarBuilder
builder
(Controls.Builder controlsBuilder) floatable
(boolean floatable) rollover
(boolean rollover) Methods inherited from interface is.codion.swing.common.ui.component.builder.ComponentBuilder
background, border, build, build, buildValue, clear, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, 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.ControlPanelBuilder
action, buttonBuilder, controls, orientation, 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
-