net.sf.doolin.gui.docking.storage
Class DefaultStorage
java.lang.Object
net.sf.doolin.gui.docking.storage.DefaultStorage
- All Implemented Interfaces:
- Storage
public class DefaultStorage
- extends Object
- implements Storage
Implementation for Storage that stores data associated with a window
in the preferences.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStorage
public DefaultStorage()
retrieve
public String retrieve(GUIWindow<?> window)
- Description copied from interface:
Storage
- Retrieves the value for a window.
- Specified by:
retrieve in interface Storage
- Parameters:
window - Window
- Returns:
- Retrieved value or
null if not found
store
public void store(GUIWindow<?> window,
String value)
- Description copied from interface:
Storage
- Stores the value for a window
- Specified by:
store in interface Storage
- Parameters:
window - Windowvalue - Value to store
Copyright © 2011. All Rights Reserved.