|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final String DEFAULT_PREFERENCE
public static final String USER_PREFERENCE
Method Detail |
public void addDescription(Locale locale, String Description)
public org.apache.pluto.om.common.Description getDescription(Locale locale)
public String getValueAt(int index)
index
-
null
if no values are present.
java.lang.ArrayIndexOutofBounds
- if index is outside the constraintspublic void removeValueAt(int index)
index
- public 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 setpublic void addValue(String value)
addValue
Adds a new value to this Preference.
value
- Vale to add to the preferencepublic String[] getValueArray()
public void setValues(String[] stringValues)
setValues
Replaces the current set of values of this preference with this one.
stringValues
- public String getType()
public void setType(String string)
string
- public String[] cloneValues()
public Iterator getDescriptions()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |