|
JThreadKitTM v1.1.0 ( public members only)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Used to signal changes in the configuration of an object. This can be used generically in many areas as there is nothing specified about what changed, only that at least one thing in the configuration of an object has just changed. The implementor of this interface must query the object to find out what thing(s) changed. This interface best used in circumstances where the configuration of the object rarely changes.
Here's a typical use on an imaginary class that supports the
adding of ConfigChangeListener's:
|
SomeClass obj = //...
obj.addConfigChangeListener(new ConfigChangeListener() {
public void configChanged() {
// something about the configuration changed,
// do something quickly...
}
});
|
For a handy tool to help you add support for
ConfigChangeListener's to your classes, see
ConfigChangeListenerTool.
| Method Summary | |
void |
configChanged()
This method is called every time the configuration of the monitored object changes. |
| Method Detail |
public void configChanged()
|
JThreadKitTM v1.1.0 ( public members only)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||