net.sf.doolin.gui.docking.storage
Class DefaultDockingStorage

java.lang.Object
  extended by net.sf.doolin.gui.docking.storage.DefaultDockingStorage
All Implemented Interfaces:
DockingStorage

public class DefaultDockingStorage
extends Object
implements DockingStorage

Implementation of DockingStorage that stores window position as properties in the preferences.

Author:
Damien Coraboeuf

Constructor Summary
DefaultDockingStorage()
           
 
Method Summary
 DockDescription retrieve(GUIWindow<?> window)
          Retrieves the DockDescription for the window.
 void store(GUIWindow<?> window, DockDescription description)
          Stores the DockDescription for the window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDockingStorage

public DefaultDockingStorage()
Method Detail

retrieve

public DockDescription retrieve(GUIWindow<?> window)
Description copied from interface: DockingStorage
Retrieves the DockDescription for the window.

Specified by:
retrieve in interface DockingStorage
Parameters:
window - Window
Returns:
DockDescription or null if not found

store

public void store(GUIWindow<?> window,
                  DockDescription description)
Description copied from interface: DockingStorage
Stores the DockDescription for the window.

Specified by:
store in interface DockingStorage
Parameters:
window - Window
description - DockDescription to store


Copyright © 2011. All Rights Reserved.