|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnap.commons.gui.completion.CompletionModeFactory.CompletionModeInfo
public static class CompletionModeFactory.CompletionModeInfo
Info class that associates a CompletionMode with a name that
can be shown to the user.
| Constructor Summary | |
|---|---|
CompletionModeFactory.CompletionModeInfo(String name,
String className)
Constructs a new completion mode info object which can then be installed using CompletionModeFactory.installCompletionMode(CompletionModeInfo). |
|
| Method Summary | |
|---|---|
String |
getClassName()
Returns the class name of the completion mode. |
String |
getName()
Returns the descriptive name of the completion mode. |
String |
toString()
Returns the descriptive name of the completion mode, thus CompletionModeInfo object can be directly used in comobobox or list models without the need of providing a CellRenderer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CompletionModeFactory.CompletionModeInfo(String name,
String className)
CompletionModeFactory.installCompletionMode(CompletionModeInfo).
name - a possibly localized descriptive name of the completion
mode, like i18n.tr("Drop down Completion").className - the class name of the completion mode
NullPointerException - if one of the arguments is null| Method Detail |
|---|
public String getName()
public String getClassName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||