|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - the kind of objects this choice offerspublic interface ChoiceExtension<V>
An extension to a Choice, adding more options to the choice.
| Field Summary | |
|---|---|
static Path |
CHOICE_EXTENSION
The name of this extension |
static String |
CHOICE_PARAMETER
The parameter containing the choise that is extended |
| Method Summary | |
|---|---|
V |
getChoice(int index)
Gets the index'th value of this choice. |
String |
getDefaultChoice()
Overrides the standard choice. |
String |
getId(int index)
Gets a unique identifier for the index'th choice. |
String |
getText(int index)
Gets a name for the index'th choice. |
boolean |
isTextKey(int index)
Tells whether getText(int) for index index returns
a key for the TextManager or is just ordinary text. |
int |
size()
Gets the number of available choices. |
| Field Detail |
|---|
static final Path CHOICE_EXTENSION
static final String CHOICE_PARAMETER
| Method Detail |
|---|
int size()
String getText(int index)
index'th choice.
index - the index of the choice
boolean isTextKey(int index)
getText(int) for index index returns
a key for the TextManager or is just ordinary text.
index - the index of the item
String getId(int index)
index'th choice.
index - the index of the choice
V getChoice(int index)
index'th value of this choice.
index - the index of the choice
String getDefaultChoice()
null indicates that this
extension does not override the default choices
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||