|
JDeveloper SCM API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides client access to the properties maintained within IDE settings and edited through client property customizers. These are held on a per-client basis in Maps, and may only contain String keys and persistable values. Does not permit properties to be changed as this class is not a mediator between settings and client, instead all changes must be user-initiated through the customizer.
Default values for properties may be set by the client, which are used in case of absence with a retrieval operation. This is recommended as soon as the client initilializes, so that the presence of values can subsequently be an assumption.
The following primitive object wrapper types are among those supported as property values for persistence :
Method Summary | |
void |
addChangeListener(java.lang.Class client,
javax.swing.event.ChangeListener cl)
Adds a ChangeListener to receive notification when client properties have changed through the UI. |
java.lang.Object |
get(java.lang.Class client,
java.lang.String key)
Gets the property for the given client and key. |
void |
putDefault(java.lang.Class client,
java.lang.String key,
java.lang.Object value)
Sets a default value for the property identified by client and key. |
void |
removeChangeListener(java.lang.Class client,
javax.swing.event.ChangeListener cl)
Removes a ChangeListener from the listeners list. |
Method Detail |
public void putDefault(java.lang.Class client, java.lang.String key, java.lang.Object value)
client
- the class for the client owning the property.key
- a String identifying the property.value
- the default value to set.public java.lang.Object get(java.lang.Class client, java.lang.String key)
client
- the class name for the client whose property value should be
returned.key
- the (client-unique) key for the property.public void addChangeListener(java.lang.Class client, javax.swing.event.ChangeListener cl)
client
- the class for the client using the listener.cl
- the ChangeListener to add.public void removeChangeListener(java.lang.Class client, javax.swing.event.ChangeListener cl)
client
- the class for the client using the listener.cl
- the ChangeListener to remove.
|
Copyright © 2002 Oracle Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |