Class KeyEvents

java.lang.Object
is.codion.swing.common.ui.key.KeyEvents

public final class KeyEvents extends Object
A factory for key event builders.
 
 JTextField textField = new JTextField();

 KeyEvents.builder(VK_DOWN)
          .onKeyRelease(false)
          .modifiers(CTRL_DOWN_MASK)
          .condition(WHEN_FOCUSED)
          .action(new FindNextAction())
          .enable(textField);
 
 
See Also: