|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.odell.glazedlists.matchers.AbstractMatcherEditor<CharacterI>
phenote.gui.field.CharFieldMatcherEditor
public class CharFieldMatcherEditor
Provides a search panel for filtering character lists by charfield values.
| Nested Class Summary | |
|---|---|
protected static class |
CharFieldMatcherEditor.Mode
Mode for filtering characters with ontology terms. |
| Nested classes/interfaces inherited from interface ca.odell.glazedlists.matchers.MatcherEditor |
|---|
ca.odell.glazedlists.matchers.MatcherEditor.Event<E>, ca.odell.glazedlists.matchers.MatcherEditor.Listener<E> |
| Field Summary | |
|---|---|
protected static CharField |
ANY_FIELD
|
| Fields inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditor |
|---|
currentMatcher |
| Constructor Summary | |
|---|---|
CharFieldMatcherEditor(java.util.List<CharField> charFields)
Creates a new CharFieldMatcherEditor which will filter characters composed of the CharFields in charFields. |
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
getComponent()
Returns the panel containing the filter interface. |
java.lang.String |
getFilter()
Returns the current filter value. |
CharFieldMatcherEditor.Mode |
getFilterMode()
Returns the filter mode used for matching ontology terms. |
void |
setCharFields(java.util.List<CharField> charFields)
Sets the charfields which the user can choose from for filtering characters. |
void |
setEditedCharField(CharField charField)
Sets the charfield used to filter the characters |
void |
setExactFilterMode()
Sets the filter mode to EXACT. |
void |
setFilter(java.lang.String text,
java.lang.Object source)
Sets the current text value to filter on. |
void |
setFilterMode(CharFieldMatcherEditor.Mode mode)
Sets the filter mode used for matching ontology terms. |
void |
setInheritFilterMode()
Sets the filter mode to INHERIT. |
void |
updateEditedCharField()
Sets the edited charfield according to the currently selected charfield in interface. |
void |
updateFilter()
Sets the filter value according to the current input in interface. |
| Methods inherited from class ca.odell.glazedlists.matchers.AbstractMatcherEditor |
|---|
addMatcherEditorListener, fireChanged, fireChangedMatcher, fireConstrained, fireMatchAll, fireMatchNone, fireRelaxed, getMatcher, removeMatcherEditorListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static CharField ANY_FIELD
| Constructor Detail |
|---|
public CharFieldMatcherEditor(java.util.List<CharField> charFields)
| Method Detail |
|---|
public void setCharFields(java.util.List<CharField> charFields)
public void setEditedCharField(CharField charField)
public void updateEditedCharField()
public void updateFilter()
public java.lang.String getFilter()
public void setFilter(java.lang.String text,
java.lang.Object source)
text - The filter text. For an ontology term this should be the ID.source - The source of the filter input.public void setExactFilterMode()
public void setInheritFilterMode()
public void setFilterMode(CharFieldMatcherEditor.Mode mode)
public CharFieldMatcherEditor.Mode getFilterMode()
public javax.swing.JComponent getComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||