|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreferenceComposite
PreferenceComposite
Field Summary | |
---|---|
static String |
DEFAULT_PREFERENCE
|
static String |
USER_PREFERENCE
|
Method Summary | |
---|---|
void |
addDescription(Locale locale,
String Description)
|
void |
addValue(String value)
addValue |
String[] |
cloneValues()
|
org.apache.pluto.om.common.Description |
getDescription(Locale locale)
|
Iterator |
getDescriptions()
|
String |
getType()
|
String[] |
getValueArray()
|
String |
getValueAt(int index)
|
void |
removeValueAt(int index)
|
void |
setType(String string)
|
void |
setValueAt(int index,
String value)
setValueAt |
void |
setValues(String[] stringValues)
setValues |
Methods inherited from interface org.apache.pluto.om.common.PreferenceCtrl |
---|
setName, setReadOnly, setValues |
Methods inherited from interface org.apache.pluto.om.common.Preference |
---|
getName, getValues, isReadOnly, isValueSet |
Field Detail |
---|
static final String DEFAULT_PREFERENCE
static final String USER_PREFERENCE
Method Detail |
---|
void addDescription(Locale locale, String Description)
org.apache.pluto.om.common.Description getDescription(Locale locale)
String getValueAt(int index)
index
-
null
if no values are present.
java.lang.ArrayIndexOutofBounds
- if index is outside the constraintsvoid removeValueAt(int index)
index
- void setValueAt(int index, String value)
setValueAt
Sets the current Preference's value atindex
to the specified value
index
- Index hows value will be set.value
- Value to setvoid addValue(String value)
addValue
Adds a new value to this Preference.
value
- Vale to add to the preferenceString[] getValueArray()
void setValues(String[] stringValues)
setValues
Replaces the current set of values of this preference with this one.
stringValues
- String getType()
void setType(String string)
string
- String[] cloneValues()
Iterator getDescriptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |