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

      Class<T> controlClass()
      Returns:
      the class of the control identified by this key
    • defaultKeystroke

      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 Value if none is available