|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MatcherEditor<E>
A facility for modifying the Matcher
s 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 Matcher
s. This is because
Matcher
s work best when they are immutable. Further information
on this immutability can be found in the Matcher Javadoc
.
Nested Class Summary | |
---|---|
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 . |
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |