|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.odell.glazedlists.matchers.AbstractMatcherEditorListenerSupport<E>
ca.odell.glazedlists.matchers.AbstractMatcherEditor<E>
public abstract class AbstractMatcherEditor<E>
Basic building block for 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:
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface ca.odell.glazedlists.matchers.MatcherEditor |
---|
MatcherEditor.Event<E>, MatcherEditor.Listener<E> |
Constructor Summary | |
---|---|
AbstractMatcherEditor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditorListenerSupport |
---|
addMatcherEditorListener, createChangedEvent, createConstrainedEvent, createMatchAllEvent, createMatchNoneEvent, createRelaxedEvent, fireChangedMatcher, removeMatcherEditorListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMatcherEditor()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |