- /*
- * @(#)StateEditable.java 1.12 04/05/05
- *
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.swing.undo;
-
- import java.util.Hashtable;
-
-
- /**
- * StateEditable defines the interface for objects that can have
- * their state undone/redone by a StateEdit.
- *
- * @see StateEdit
- */
-
- public interface StateEditable {
-
- /** Resource ID for this class. */
- public static final String RCSID = "$Id: StateEditable.java,v 1.2 1997/09/08 19:39:08 marklin Exp $";
-
- /**
- * Upon receiving this message the receiver should place any relevant
- * state into <EM>state</EM>.
- */
- public void storeState(Hashtable<Object,Object> state);
-
- /**
- * Upon receiving this message the receiver should extract any relevant
- * state out of <EM>state</EM>.
- */
- public void restoreState(Hashtable<?,?> state);
- } // End of interface StateEditable