Module is.codion.swing.common.ui
Interface ControlKey<T extends Control>
- Type Parameters:
T- the control type
- All Known Subinterfaces:
Controls.ControlsKey
public interface ControlKey<T extends Control>
Identifies a
Control instance-
Method Details
-
name
String name()- Returns:
- the control name
-
controlClass
- Returns:
- the class of the control identified by this key
-
defaultKeystroke
is.codion.common.value.Value<KeyStroke> defaultKeystroke()Note that changing the default keystroke has no effect on already initialized components.- Returns:
- the default keystroke for this shortcut, an empty
Valueif none is available
-