qflib 0.98.1

Package de.qfs.lib.config

The de.qfs.lib.config package provides everything needed to save and restore an applications state in a user editable config file.

See:
          Description

Interface Summary
Configurable The Configurable interface is used together with the Configuration class to make an Object's state persistent.
ConfigurationListener This interface has to be implemented by classes interested in a state change of a Configurable registered with the Configuration.
 

Class Summary
Configuration The Configuration class provides the means for an application to save and restore some of its state, e.g.
ConfigurationEvent This event encapsulates the details of a state change in a Configurable registered with the Configuration.
Configurator A Configurator is a composite, holding Configurables and other Configurators, thus building a hierarchy which is used to determine the names under which the Configurables are registered with the Configuration.
ConfigWrapper A ConfigWrapper implements the Configurable interface by wrapping itself around a client Object, getting and setting its state when needed.
DialogConfigWrapper A ConfigWrapper for Dialog objects.
FrameConfigWrapper A ConfigWrapper for Frame objects.
JDialogConfigWrapper A ConfigWrapper for JDialog objects.
JFrameConfigWrapper A ConfigWrapper for JFrame objects.
JSplitPaneConfigWrapper A ConfigWrapper for JSplitPane objects.
JTableConfigWrapper A ConfigWrapper for swing.JTable objects.
JToolBarConfigWrapper This ConfigWrapper saves and restores the State of a JToolBar.
RegistrationHelper Helper class for Configurables that care about the Configurations they are registered with.
RelativeDialogConfigWrapper Special configuration wrapper that stores the Dialog location relative to some other window instead of as absolute screen values.
 

Package de.qfs.lib.config Description

The de.qfs.lib.config package provides everything needed to save and restore an applications state in a user editable config file.

The Configuration class is responsible for managing saving and restoring the applications state. Objects wanting to save their state must implement the Configurable interface. These can be grouped into a hierarchy built with Configurators.

A number of helper classes is provided that can be used to manage the state of some Swing components. They are accessible through the ConfigWrapper.makeWrapper factory method.


qflib 0.98.1