home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 November
/
Chip_1998-11_cd.bin
/
tema
/
Cafe
/
jfc.bin
/
StateEditable.java
< prev
next >
Wrap
Text File
|
1998-02-26
|
2KB
|
49 lines
/*
* @(#)StateEdit.java 1.8 97/07/28
*
* Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the confidential and proprietary information of Sun
* Microsystems, Inc. ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Sun.
*
* SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
* SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
* SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
* THIS SOFTWARE OR ITS DERIVATIVES.
*
*/
package com.sun.java.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 {
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 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