public abstract class AbstractMatcherEditor<E> extends AbstractMatcherEditorListenerSupport<E>
MatcherEditor
implementations that
handles the details of dealing with registered MatcherEditor.Listener
s.
All MatcherEditor
implementations should extend this class for its
convenience methods.
Extending classes can fire events to registered listeners using the "fire" methods:
MatcherEditor.Event<E>, MatcherEditor.Listener<E>
Constructor and Description |
---|
AbstractMatcherEditor() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireChanged(Matcher<E> matcher)
Indicates that the filter has changed in an indeterminate way.
|
protected void |
fireConstrained(Matcher<E> matcher)
Indicates that the filter has changed to be more restrictive.
|
protected void |
fireMatchAll()
Indicates that the filter matches all.
|
protected void |
fireMatchNone()
Indicates that the filter matches none.
|
protected void |
fireRelaxed(Matcher<E> matcher)
Indicates that the filter has changed to be less restrictive.
|
Matcher<E> |
getMatcher()
Return the current
Matcher specified by this MatcherEditor . |
protected boolean |
isCurrentlyMatchingAll()
Returns true if the current matcher will match everything.
|
protected boolean |
isCurrentlyMatchingNone()
Returns true if the current matcher will match nothing.
|
addMatcherEditorListener, createChangedEvent, createConstrainedEvent, createMatchAllEvent, createMatchNoneEvent, createRelaxedEvent, fireChangedMatcher, removeMatcherEditorListener
public final Matcher<E> getMatcher()
Matcher
specified by this MatcherEditor
.Matcher
.protected final void fireMatchAll()
protected final void fireChanged(Matcher<E> matcher)
protected final void fireConstrained(Matcher<E> matcher)
protected final void fireRelaxed(Matcher<E> matcher)
protected final void fireMatchNone()
protected final boolean isCurrentlyMatchingAll()
protected final boolean isCurrentlyMatchingNone()
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by pbuilder at 2016-02-14 0:54