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 Summary

    Modifier and Type
    Method
    Description
    Note that changing the default keystroke has no effect on already initialized controls.
     
  • Method Details

    • name

      String name()
      Returns:
      the control name
    • defaultKeystroke

      Value<KeyStroke> defaultKeystroke()
      Note that changing the default keystroke has no effect on already initialized controls.
      Returns:
      the default keystroke for this shortcut, an empty Value if none is available