Module org.autogui

Class PopupExtension.PredicateKeyMatcher

java.lang.Object
org.autogui.swing.util.PopupExtension.PredicateKeyMatcher
All Implemented Interfaces:
Predicate<KeyEvent>
Enclosing class:
PopupExtension

public static class PopupExtension.PredicateKeyMatcher extends Object implements Predicate<KeyEvent>
keyCode and modifierEx: ALT_DOWN_MASK, ...
  • Field Details

    • keyCode

      protected int keyCode
    • modifiersEx

      protected int modifiersEx
  • Constructor Details

    • PredicateKeyMatcher

      public PredicateKeyMatcher(int keyCode, int modifiersEx)
  • Method Details

    • getKeyCode

      public int getKeyCode()
    • getModifiersEx

      public int getModifiersEx()
    • test

      public boolean test(KeyEvent keyEvent)
      Specified by:
      test in interface Predicate<KeyEvent>