E
- The matchee typepublic interface EventMatcher<E extends Event<?>>
extends org.refcodes.matcher.Matcher<E>
Matcher
interface for the usage with
ActionEvent
instances. An EventMatcher
most commonly uses the
EventMetaData
(as defined with the MetaDataEvent
) in order to
determine whether an ActionEvent
matches EventMetaData
properties or not.Modifier and Type | Method and Description |
---|---|
boolean |
isMatching(E aEvent)
Tests whether the given
ActionEvent is matching the
Matcher 's criteria. |
boolean isMatching(E aEvent)
ActionEvent
is matching the
Matcher
's criteria.isMatching
in interface org.refcodes.matcher.Matcher<E extends Event<?>>
aEvent
- The ActionEvent
used for testing its matchability.ActionEvent
matches the
Matcher
's criteria, else false.Copyright © 2018. All rights reserved.