|
||||||||||
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>
ca.odell.glazedlists.matchers.CompositeMatcherEditor<E>
public class CompositeMatcherEditor<E>
A MatcherEditor
composed of zero or more delegate
MatcherEditor
s.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface ca.odell.glazedlists.matchers.MatcherEditor |
---|
MatcherEditor.Event<E>, MatcherEditor.Listener<E> |
Field Summary | |
---|---|
static int |
AND
require all matchers in the MatcherEditor to match |
static int |
OR
require any matchers in the MatcherEditor to match |
Constructor Summary | |
---|---|
CompositeMatcherEditor()
Create a CompositeMatcherEditor . |
|
CompositeMatcherEditor(EventList<MatcherEditor<E>> matcherEditors)
Create a CompositeMatcherEditor that creates Matchers from the union
of the specified EventList of MatcherEditor s. |
Method Summary | |
---|---|
EventList<MatcherEditor<E>> |
getMatcherEditors()
Get the EventList of MatcherEditor s that make up this
CompositeMatcherEditor . |
int |
getMode()
Get the match mode for this CompositeMatcherEditor . |
void |
setMode(int mode)
Set the match mode for this CompositeMatcherEditor . |
Methods inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditor |
---|
fireChanged, fireConstrained, fireMatchAll, fireMatchNone, fireRelaxed, getMatcher, isCurrentlyMatchingAll, isCurrentlyMatchingNone |
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 |
Field Detail |
---|
public static final int AND
MatcherEditor
to match
public static final int OR
MatcherEditor
to match
Constructor Detail |
---|
public CompositeMatcherEditor(EventList<MatcherEditor<E>> matcherEditors)
CompositeMatcherEditor
that creates Matchers from the union
of the specified EventList
of MatcherEditor
s. The EventList
must not contain any null
values and all elements must
implement MatcherEditor
.
public CompositeMatcherEditor()
CompositeMatcherEditor
.
Method Detail |
---|
public EventList<MatcherEditor<E>> getMatcherEditors()
EventList
of MatcherEditor
s 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |