public interface PreferenceSetCtrl extends Controller
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.
Modifier and Type | Method and Description |
---|---|
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.
|
Preference add(java.lang.String name, java.util.List values)
name
- the name of the new preferencevalues
- the values of the new preferencePreference remove(java.lang.String name)
name
- the name of the preference to be removedvoid remove(Preference preference)
preference
- the preference to be removedCopyright © 2003-2013 . All Rights Reserved.