public static interface Controls.Builder extends Control.Builder
Modifier and Type | Method and Description |
---|---|
Controls.Builder |
action(Action action) |
Controls.Builder |
actions(Action... actions) |
Controls |
build()
Builds the Controls
|
Controls.Builder |
caption(String caption) |
Controls.Builder |
control(Control.Builder controlBuilder) |
Controls.Builder |
control(Control control) |
Controls.Builder |
controls(Control... controls) |
Controls.Builder |
controls(Control.Builder... controlBuilders) |
Controls.Builder |
description(String description) |
Controls.Builder |
enabledState(StateObserver enabledState) |
Controls.Builder |
keyStroke(KeyStroke keyStroke) |
Controls.Builder |
mnemonic(char mnenomic) |
Controls.Builder |
separator()
Adds a separator to the Controls
|
Controls.Builder |
smallIcon(Icon smallIcon) |
largeIcon
Controls.Builder caption(String caption)
caption
in interface Control.Builder
caption
- the name for this controls instanceControls.Builder description(String description)
description
in interface Control.Builder
description
- a description for this controls instanceControls.Builder mnemonic(char mnenomic)
mnemonic
in interface Control.Builder
mnenomic
- the mnemonic to assign to this controls instanceControls.Builder keyStroke(KeyStroke keyStroke)
keyStroke
in interface Control.Builder
keyStroke
- the keystroke to associate with this controls instanceControls.Builder enabledState(StateObserver enabledState)
enabledState
in interface Control.Builder
enabledState
- the state observer dictating the enabled state of this controls instanceControls.Builder smallIcon(Icon smallIcon)
smallIcon
in interface Control.Builder
smallIcon
- the iconControls.Builder control(Control control)
control
- the control to add to this controls instanceControls.Builder control(Control.Builder controlBuilder)
controlBuilder
- the control builder to add to this controls instanceControls.Builder controls(Control... controls)
controls
- the controls to addControls.Builder controls(Control.Builder... controlBuilders)
controlBuilders
- the control builder to addControls.Builder action(Action action)
action
- the Action to add to this controls instanceControls.Builder actions(Action... actions)
actions
- the Actions to add to this controls instanceControls.Builder separator()
Controls build()
build
in interface Control.Builder