|
Oracle Java Wireless Client | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SuiteSetting
Interface for the individual suite setting. Each setting has an optional title to be displayed to user (for example, "Read File"), optional description (for example, "How often should app ask for permission to access to file system reading?") and number of choices (for example, "Ask once per application use", etc).
Method Summary | |
int |
getChoicesCount()
Gets number of choices for this setting |
java.lang.String |
getChoiceTitle(int idx)
Title of choice with specified index. |
java.lang.String |
getDescription()
Gets setting description |
int |
getIdx()
Gets setting index in settings group |
int |
getSelectedChoice()
Return index of currently selected (active) choice |
java.lang.String |
getTitle()
Gets setting title |
void |
setSelectedChoice(int newSelection)
Sets index currently selected by user. |
Method Detail |
int getIdx()
java.lang.String getTitle()
java.lang.String getDescription()
int getChoicesCount()
int getSelectedChoice()
void setSelectedChoice(int newSelection) throws java.lang.IndexOutOfBoundsException
newSelection
- new selection
java.lang.IndexOutOfBoundsException
- if selection index is not validjava.lang.String getChoiceTitle(int idx)
idx
- choice index
|
Oracle Java Wireless Client | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |