public interface MatcherEditor<E>
Matchers which specify the behaviour of a
FilterList.
Although this interface is called an Editor, the
implementor should create new Matcher instances on each
change rather than modifying the existing Matchers. This is because
Matchers work best when they are immutable. Further information
on this immutability can be found in the Matcher Javadoc.
| Modifier and Type | Interface and Description |
|---|---|
static class |
MatcherEditor.Event<E>
A MatcherEditor event models a change in the
MatcherEditor that
creates a new Matcher. |
static interface |
MatcherEditor.Listener<E>
A MatcherEditor.Listener handles changes fired by a
MatcherEditor. |
| Modifier and Type | Method and Description |
|---|---|
void |
addMatcherEditorListener(MatcherEditor.Listener<E> listener)
Add a listener to be notified when this editor's
Matcher changes. |
Matcher<E> |
getMatcher()
Return the current
Matcher specified by this MatcherEditor. |
void |
removeMatcherEditorListener(MatcherEditor.Listener<E> listener)
Remove the listener so that it no longer receives notification when the
Matcher changes. |
void addMatcherEditorListener(MatcherEditor.Listener<E> listener)
Matcher changes.void removeMatcherEditorListener(MatcherEditor.Listener<E> listener)
Matcher changes.Matcher<E> getMatcher()
Matcher specified by this MatcherEditor.Matcher.Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by debian at 2016-11-28 3:17