Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
ca.odell.glazedlists.matchers.AbstractMatcherEditor<E>
ca.odell.glazedlists.matchers.CompositeMatcherEditor<E>
public class CompositeMatcherEditor<E>
extends AbstractMatcherEditor<E>
MatcherEditor
composed of zero or more delegate
MatcherEditor
s.
Field Summary | |
static int |
|
static int |
|
Fields inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditor<E> | |
currentMatcher |
Constructor Summary | |
| |
|
Method Summary | |
EventList<E> |
|
int |
|
void |
|
Methods inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditor<E> | |
addMatcherEditorListener , fireChanged , fireChangedMatcher , fireConstrained , fireMatchAll , fireMatchNone , fireRelaxed , getMatcher , removeMatcherEditorListener |
public CompositeMatcherEditor(EventList<E> matcherEditors)
Create aCompositeMatcherEditor
that creates Matchers from the union of the specifiedEventList
ofMatcherEditor
s. TheEventList
must not contain anynull
values and all elements must implementMatcherEditor
.
public EventList<E> getMatcherEditors()
Get theEventList
ofMatcherEditor
s that make up thisCompositeMatcherEditor
. TheEventList
must never contain anynull
values and all elements must implementMatcherEditor
.
public int getMode()
Get the match mode for thisCompositeMatcherEditor
.
- Returns:
- either
CompositeMatcherEditor.AND
for match allCompositeMatcherEditor.OR
for match any.
public void setMode(int mode)
Set the match mode for thisCompositeMatcherEditor
.
- Parameters:
mode
- eitherCompositeMatcherEditor.AND
to match allCompositeMatcherEditor.OR
to match any.