- All Superinterfaces:
Action,ActionListener,Control,EventListener
A
Control based on a Control.Command-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface is.codion.swing.common.ui.control.Control
Control.ActionCommand, Control.BuilderFactory, Control.Command -
Field Summary
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Method Summary
Modifier and TypeMethodDescriptioncopy()Returns a newCommandControl.CommandControlBuilderinstance, based on a copy of this control.copy(Control.ActionCommand actionCommand) Returns a newCommandControl.CommandControlBuilderinstance, based on a copy of this control, using the given command.copy(Control.Command command) Returns a newCommandControl.CommandControlBuilderinstance, based on a copy of this control, using the given command.static ControlKey<CommandControl> static ControlKey<CommandControl> Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListenerMethods inherited from interface java.awt.event.ActionListener
actionPerformedMethods inherited from interface is.codion.swing.common.ui.control.Control
background, caption, description, enabled, font, foreground, keys, keyStroke, largeIcon, mnemonic, setEnabled, smallIcon
-
Method Details
-
copy
Returns a newCommandControl.CommandControlBuilderinstance, based on a copy of this control. -
copy
Returns a newCommandControl.CommandControlBuilderinstance, based on a copy of this control, using the given command.- Parameters:
command- the command for the resulting control- Returns:
- a new builder
-
copy
Returns a newCommandControl.CommandControlBuilderinstance, based on a copy of this control, using the given command.- Parameters:
actionCommand- the command for the resulting control- Returns:
- a new builder
-
key
- Parameters:
name- the control name- Returns:
- a new
ControlKeyfor identifying aCommandControlinstance
-
key
- Parameters:
name- the control namedefaultKeyStroke- the default keystroke- Returns:
- a new
ControlKeyfor identifying aCommandControlinstance
-