|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public Preferences
An interface representing preferences. It can be obtained through an PreferencesProvider
.
Method Summary | |
---|---|
String |
getValue(String name)
Returns the preference value for the given preference name. |
String[] |
getValues(String name)
Returns the preference values for the given preference name. |
boolean |
isReadOnly(String name)
Return true if the preference is set and marked as read-only in the widget definition, false otherwise. |
String[] |
getNames()
Returns a list of the names of preference entries. |
Map |
getMap()
Returns a map of all the preferences, with the name as key and the first value only as child. |
Method Detail |
---|
String getValue(String name)
name
-
the preference name. Must not be null
null
, if the preference is not set.String[] getValues(String name)
name
-
the preference name. Must not be null
null
, if the preference is not set.boolean isReadOnly(String name)
true
if the preference is set and marked as read-only in the widget definition, false
otherwise.
name
-
the preference key. Must not be null
true
if the preference is set and marked as read-onlyString[] getNames()
Map getMap()
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |