org.springframework.richclient.settings.support
Class WindowMemento

java.lang.Object
  extended by org.springframework.richclient.settings.support.WindowMemento
All Implemented Interfaces:
Memento

public class WindowMemento
extends Object
implements Memento

Memento for saving and restoring Window settings.

Author:
Peter De Bruycker

Constructor Summary
WindowMemento(Window window)
           
WindowMemento(Window window, String key)
           
 
Method Summary
 String getKey()
           
 Window getWindow()
           
 void restoreState(Settings settings)
           
 void saveState(Settings settings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowMemento

public WindowMemento(Window window)

WindowMemento

public WindowMemento(Window window,
                     String key)
Method Detail

saveState

public void saveState(Settings settings)
Specified by:
saveState in interface Memento

restoreState

public void restoreState(Settings settings)
Specified by:
restoreState in interface Memento

getWindow

public Window getWindow()

getKey

public String getKey()


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.