|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
Preference |
getPreference(java.lang.String key)
Return the preference for the given key. |
Value |
getValue(java.lang.String key)
Return the value for the given key or null if it does not exist. |
boolean |
isReadOnly(java.lang.String key)
Return the read only value for the given preference. |
java.util.Set |
keySet()
Return the key set of all the preferences. |
void |
setReadOnly(java.lang.String key,
boolean readOnly)
Update the read only value for the given key. |
void |
setValue(java.lang.String key,
Value value)
Update the value of the given key. |
| Method Detail |
public java.util.Set keySet()
public Preference getPreference(java.lang.String key)
key - the requested key
public Value getValue(java.lang.String key)
key - the requested key
public void setValue(java.lang.String key,
Value value)
throws java.lang.UnsupportedOperationException
key - the key to updatevalue - the new value
java.lang.UnsupportedOperationException - if the operation is not supportedpublic boolean isReadOnly(java.lang.String key)
key - the requested key
public void setReadOnly(java.lang.String key,
boolean readOnly)
throws java.lang.UnsupportedOperationException
key - the key to updatereadOnly - the new read only value
java.lang.UnsupportedOperationException - if the operation is not supported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||