public boolean isMatching ( GestureEvent event ) { return ( event != null ) && ! event . isConsumed ( ) && ( gestureModifiers . isNone ( ) || ( ( event . isAltDown ( ) == gestureModifiers . isAlt ( ) ) && ( event . isShiftDown ( ) == gestureModifiers . isShift ( ) ) && ( event . isControlDown ( ) == gestureModifiers . isControl ( ) ) && ( event . isMetaDown ( ) == gestureModifiers . isMeta ( ) ) && ( event . isShortcutDown ( ) == gestureModifiers . isShortcut ( ) ) ) ) ; }
Check whether the given GestureEvent is matching the current properties .