|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.qfs.lib.config.ConfigWrapper
de.qfs.lib.config.JToolBarConfigWrapper
This ConfigWrapper saves and restores the State of a JToolBar. The saved state contains information about whether the toolbar is floating or docked and about its position, either inside its floating Frame or its parent.
TODO: Listen for changes and call Configuration.stateChanged
.
Field Summary | |
protected javax.swing.JToolBar |
toolbar
The JToolBar to wrap. |
Constructor Summary | |
JToolBarConfigWrapper()
Create a new JToolBarConfigWrapper with the default name 'toolbar'. |
Method Summary | |
java.util.Properties |
getConfigurableState()
Get the Configurable's state. |
protected void |
setClient(java.lang.Object client)
Set the client object for the ConfigWrapper. |
void |
setConfigurableState(java.util.Properties state)
Set the Configurable's state. |
Methods inherited from class de.qfs.lib.config.ConfigWrapper |
addPackage, getConfigurableName, makeWrapper, makeWrapper, registrationChanged, setConfigurableName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.swing.JToolBar toolbar
Constructor Detail |
public JToolBarConfigWrapper()
Method Detail |
protected void setClient(java.lang.Object client)
setClient
in class ConfigWrapper
client
- The client object to set.public java.util.Properties getConfigurableState()
getConfigurableState
in interface Configurable
getConfigurableState
in class ConfigWrapper
public void setConfigurableState(java.util.Properties state)
setConfigurableState
in interface Configurable
setConfigurableState
in class ConfigWrapper
state
- The state to set. Ignored.
|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |