public class CompositeMatcherEditor<E> extends AbstractMatcherEditor<E>
MatcherEditor composed of zero or more delegate
MatcherEditors.MatcherEditor.Event<E>, MatcherEditor.Listener<E>| Modifier and Type | Field and Description |
|---|---|
static int |
AND
require all matchers in the
MatcherEditor to match |
static int |
OR
require any matchers in the
MatcherEditor to match |
| Constructor and Description |
|---|
CompositeMatcherEditor()
Create a
CompositeMatcherEditor. |
CompositeMatcherEditor(EventList<MatcherEditor<E>> matcherEditors)
Create a
CompositeMatcherEditor that creates Matchers from the union
of the specified EventList of MatcherEditors. |
| Modifier and Type | Method and Description |
|---|---|
EventList<MatcherEditor<E>> |
getMatcherEditors()
|
int |
getMode()
Get the match mode for this
CompositeMatcherEditor. |
void |
setMode(int mode)
Set the match mode for this
CompositeMatcherEditor. |
fireChanged, fireConstrained, fireMatchAll, fireMatchNone, fireRelaxed, getMatcher, isCurrentlyMatchingAll, isCurrentlyMatchingNoneaddMatcherEditorListener, createChangedEvent, createConstrainedEvent, createMatchAllEvent, createMatchNoneEvent, createRelaxedEvent, fireChangedMatcher, removeMatcherEditorListenerpublic static final int AND
MatcherEditor to matchpublic static final int OR
MatcherEditor to matchpublic CompositeMatcherEditor(EventList<MatcherEditor<E>> matcherEditors)
CompositeMatcherEditor that creates Matchers from the union
of the specified EventList of MatcherEditors. The EventList
must not contain any null values and all elements must
implement MatcherEditor.public CompositeMatcherEditor()
CompositeMatcherEditor.public EventList<MatcherEditor<E>> getMatcherEditors()
EventList of MatcherEditors that make up this
CompositeMatcherEditor. The EventList
must never contain any null values and all elements must
implement MatcherEditor.public void setMode(int mode)
CompositeMatcherEditor.mode - either CompositeMatcherEditor.AND to match all
CompositeMatcherEditor.OR to match any.public int getMode()
CompositeMatcherEditor.CompositeMatcherEditor.AND for match all
CompositeMatcherEditor.OR for match any.Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by buildd at 2016-02-14 5:12