|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.swing.CompletionSupport<E>
E - Type of item in the combo boxpublic class CompletionSupport<E>
Support class for the auto-completion of JComboBox.
| Constructor Summary | |
|---|---|
CompletionSupport()
|
|
| Method Summary | |
|---|---|
String |
getFilterMode()
Gets the filter mode as defined as constants in TextMatcherEditor
. |
Format |
getFormat()
Gets the format used for items |
ca.odell.glazedlists.TextFilterator<E> |
getOrCreateTextFilterator()
Returns the filter used by the combo box to convert items to text and creates it if needed |
ca.odell.glazedlists.TextFilterator<E> |
getTextFilterator()
Gets the filter used by the combo box to convert items to text |
boolean |
isStrict()
Checks if the auto-completion does not accept new entries |
void |
setFilterMode(String filterMode)
Sets the filter mode as defined as constants in TextMatcherEditor |
void |
setFormat(Format format)
Sets the format used for item |
void |
setStrict(boolean strict)
Sets if the auto-completion does not accept new entries |
void |
setTextFilterator(ca.odell.glazedlists.TextFilterator<E> textFilterator)
Sets the filter used by the combo box to convert items to text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompletionSupport()
| Method Detail |
|---|
public Format getFormat()
public void setFormat(Format format)
format - Formatpublic boolean isStrict()
true if the auto-completion does not accept new
entriespublic void setStrict(boolean strict)
strict - true if the auto-completion does not accept new
entriespublic String getFilterMode()
TextMatcherEditor
.
public void setFilterMode(String filterMode)
TextMatcherEditor
filterMode - Filter modepublic ca.odell.glazedlists.TextFilterator<E> getTextFilterator()
public void setTextFilterator(ca.odell.glazedlists.TextFilterator<E> textFilterator)
textFilterator - Filterpublic ca.odell.glazedlists.TextFilterator<E> getOrCreateTextFilterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||