Examples of EventIdMethodFilter


Examples of org.izi.impl.EventIdMethodFilter

    * @param eventIdentifiers list of the event identifiers
    * @return a filter instance
    */
   public static ListenerMethodFilter eventIdsFilter(int... eventIdentifiers)
   {
      return new EventIdMethodFilter(eventIdentifiers);
   }
View Full Code Here

Examples of org.izi.impl.EventIdMethodFilter

    * @return a filter instance
    * @see java.awt.event.InputEvent#getModifiersEx()
    */
   public static ListenerMethodFilter inputEventModifiers(int eventId, final int expectedModifiersEx)
   {
      return new EventIdMethodFilter(eventId)
      {
         @Override
         public boolean passes(Method method, Object[] args)
         {
            if (super.passes(method, args) && args[0] instanceof InputEvent)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.