|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertiesKeeper
Interface for all classes, that keep properties.
Method Summary | |
---|---|
void |
getProperties(PropertiesContainer propsCont,
boolean forceAll)
Puts all editable properties to the editor. |
void |
loadProperty(PropertyLoader loader)
Loads (and parses) a certain property from a config file. |
void |
onPropertyChanged(Property property,
java.lang.Object oldValue,
java.lang.Object newValue)
Invoked when a kept Property has changed. |
void |
saveProperties(PropertyWriter writer)
Saves all settings to the config file. |
Method Detail |
---|
void onPropertyChanged(Property property, java.lang.Object oldValue, java.lang.Object newValue)
Property
has changed.
property
- the changed propertyoldValue
- the old valuenewValue
- the new valuevoid saveProperties(PropertyWriter writer) throws java.io.IOException
writer
- the widgets configuration writer to write properties to
java.io.IOException
- if something went wrongvoid loadProperty(PropertyLoader loader)
loader
- the property loader to load properties fromvoid getProperties(PropertiesContainer propsCont, boolean forceAll)
propsCont
- the container to add the properties toforceAll
- If true
, all properties provided by this PropertiesKeeper
must be added.
If false
, only the properties, that are relevant for the current PropertiesKeeper
's situation have to be added, some can be ignored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |