public static class MatcherEditor.Event<E> extends EventObject
MatcherEditor
that creates a new
Matcher
.
The event gives access to:
MatcherEditor
which was the source of the change
Matcher
which was produced from the MatcherEditor
Modifier and Type | Field and Description |
---|---|
static int |
CHANGED
Indicates the associated Matcher is a complete change from the previous Matcher.
|
static int |
CONSTRAINED
Indicates the associated Matcher is a constrained version of the previous Matcher, implying
it can be expected to match at most the same values matched by the previous Matcher, and
possibly fewer.
|
static int |
MATCH_ALL
Indicates the associated Matcher will match anything.
|
static int |
MATCH_NONE
Indicates the associated Matcher will match nothing.
|
static int |
RELAXED
Indicates the associated Matcher is a relaxed version of the previous Matcher, implying it
can be expected to match at least the same values matched by the previous Matcher, and
possibly more.
|
source
Constructor and Description |
---|
Event(FilterList eventSource,
int changeType,
Matcher<E> matcher) |
Event(MatcherEditor<E> matcherEditor,
int changeType,
Matcher<E> matcher) |
Modifier and Type | Method and Description |
---|---|
Matcher<E> |
getMatcher() |
MatcherEditor<E> |
getMatcherEditor()
Get the
MatcherEditor that originated this event, or null if this event originated
directly from a FilterList in a call to FilterList.setMatcher(Matcher) . |
int |
getType() |
getSource, toString
public static final int MATCH_ALL
public static final int MATCH_NONE
public static final int CONSTRAINED
public static final int RELAXED
public static final int CHANGED
public Event(MatcherEditor<E> matcherEditor, int changeType, Matcher<E> matcher)
public Event(FilterList eventSource, int changeType, Matcher<E> matcher)
public MatcherEditor<E> getMatcherEditor()
MatcherEditor
that originated this event, or null if this event originated
directly from a FilterList
in a call to FilterList.setMatcher(Matcher)
.public int getType()
Copyright © 2024 levigo holding gmbh. All rights reserved.