|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gswing.framework.PropertyManager
public class PropertyManager
Manages the storage, update and distribition of configuration values.
Constructor Summary | |
---|---|
PropertyManager()
|
Method Summary | |
---|---|
void |
deRegister(IPropertyListener listener)
De-register for updates. |
String |
get(String key)
Get the current property values. |
void |
register(IPropertyListener listener)
Register for updates when a property gets a new value. |
void |
set(String key,
String value)
|
void |
update(String key,
Object value)
Update with a new value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyManager()
Method Detail |
---|
public void register(IPropertyListener listener)
register
in interface IPropertyManagement
listener
- The property listener.public void deRegister(IPropertyListener listener)
deRegister
in interface IPropertyManagement
listener
- The property listener.public void update(String key, Object value)
update
in interface IPropertyManagement
key
- The property key.value
- The new property value.public String get(String key)
get
in interface IPropertyManagement
key
- The property key.
public void set(String key, String value)
set
in interface IPropertyManagement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |