You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
995 B
55 lines
995 B
/*
|
|
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE 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
|