|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface SettingsTypes.UniqueSelection
A generic type that has multiple options, from all these options the user can choose only one option (the selected option).
There can be a default pre-selected option.
| Field Summary | |
|---|---|
static int |
UNDEFINED_SELECTION
Selection is undefined. |
| Method Summary | |
|---|---|
int |
getDefaultSelection()
This is the default selected option, if the user doesn't choose other option then this will be the selected option. |
java.util.List<java.lang.String> |
getOptions()
Returns the available options from which the user can pick one. |
int |
getSelection()
|
boolean |
setSelection(int selection)
This is how the user can choose an option. |
| Methods inherited from interface org.argouml.uml.reveng.SettingsTypes.Setting |
|---|
getLabel |
| Field Detail |
|---|
static final int UNDEFINED_SELECTION
| Method Detail |
|---|
java.util.List<java.lang.String> getOptions()
int getDefaultSelection()
getOptions() or
UNDEFINED_SELECTION if there is no default optionboolean setSelection(int selection)
selection - the 0 based index of the default option as is in the list
returned by
getOptions()
int getSelection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |