|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides access to change a set of Preference
objects.
This interface defines the controller as known from the MVC pattern. Its purpose is to provide write access to the data stored in the model.
Method Summary | |
Preference |
add(java.lang.String name,
java.util.List values)
Creates a new preference and adds it to the set The return value cannot be NULL. |
void |
remove(Preference preference)
Removes the given preference from the set |
Preference |
remove(java.lang.String name)
Removes the preference with the given name from the set The return value may be NULL. |
Method Detail |
public Preference add(java.lang.String name, java.util.List values)
name
- the name of the new preferencevalues
- the values of the new preference
public Preference remove(java.lang.String name)
name
- the name of the preference to be removed
public void remove(Preference preference)
preference
- the preference to be removed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |