|
qflib 0.98.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.qfs.lib.config.RegistrationHelper
Helper class for Configurables that care about the Configurations they are registered with.
Constructor Summary | |
RegistrationHelper()
|
Method Summary | |
int |
registrationChanged(Configuration config,
boolean registered)
Helper for registrationChanged callbacks on the Configurable. |
void |
stateChanged(Configurable client)
Notify all Configurations the client is registered with of a state in the client's state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RegistrationHelper()
Method Detail |
public int registrationChanged(Configuration config, boolean registered)
config
- The affected Configuration.registered
- True if the Configurable was just registered,
false if it was unregistered.public void stateChanged(Configurable client)
client
- The Configurable that changed.
|
qflib 0.98.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |