|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.odell.glazedlists.matchers.AbstractMatcherEditor<E>
ca.odell.glazedlists.matchers.CompositeMatcherEditor<E>
public class CompositeMatcherEditor<E>
A MatcherEditor composed of zero or more delegate
MatcherEditors.
| 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 |
| Fields inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditor |
|---|
currentMatcher |
| 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 MatcherEditors. |
|
| Method Summary | |
|---|---|
EventList<MatcherEditor<E>> |
getMatcherEditors()
Get the EventList of MatcherEditors 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 |
|---|
addMatcherEditorListener, fireChanged, fireChangedMatcher, fireConstrained, fireMatchAll, fireMatchNone, fireRelaxed, getMatcher, isCurrentlyMatchingAll, isCurrentlyMatchingNone, 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 MatcherEditors. 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 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||