|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreferenceModelManager
To be used by the Preference and Preference Attributes to notify the manager of a change of value. The manager may then notify all interested parties about the change in value.
Field Summary | |
---|---|
static int |
OPERATION_CHILD_PREF_ADDED
Operation to identify addition of a child preference |
static int |
OPERATION_CHILD_PREF_REMOVED
Operation to identify removal of a child preference |
static int |
OPERATION_PREF_ATTR_ADDED
Operation to identify addition of a child preference |
static int |
OPERATION_PREF_ATTR_REMOVED
Operation to identify removal of a child preference |
Method Summary | |
---|---|
void |
attributeValueChanged(java.lang.String preferenceId,
java.lang.String attributeId,
java.lang.String newValue)
Used by the Preference to notify the manager about a change in an attribute value. |
void |
childPreferenceChanged(java.lang.String preferenceId,
java.lang.String childPreferenceId,
int operation)
This method is called on the Preference Model Manager by the Preference, whenever a child preference is added or deleted. |
void |
preferenceAttributeChanged(java.lang.String preferenceId,
java.lang.String preferenceAttributeId,
int operation)
This method is called on the Preference Model Manager by the Preference, whenever a child preference is added or deleted. |
Field Detail |
---|
static final int OPERATION_CHILD_PREF_ADDED
static final int OPERATION_CHILD_PREF_REMOVED
static final int OPERATION_PREF_ATTR_ADDED
static final int OPERATION_PREF_ATTR_REMOVED
Method Detail |
---|
void attributeValueChanged(java.lang.String preferenceId, java.lang.String attributeId, java.lang.String newValue)
Complete Id
of the Preference.
preferenceId
- The Preference in which the value changedattributeId
- The Attribute whose value changednewValue
- The new value of the attributevoid childPreferenceChanged(java.lang.String preferenceId, java.lang.String childPreferenceId, int operation)
preferenceId
- The current Preference id (complete id)childPreferenceId
- The preference id of the child preferenceoperation
- Operation type, denoted by
OPERATION_CHILD_PREF_ADDED
or
OPERATION_CHILD_PREF_REMOVED
void preferenceAttributeChanged(java.lang.String preferenceId, java.lang.String preferenceAttributeId, int operation)
preferenceId
- The current Preference id (complete id)preferenceAttributeId
- The preference id of the child preferenceoperation
- Operation type, denoted by
OPERATION_PREF_ATTR_REMOVED
or
OPERATION_PREF_ATTR_REMOVED
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |