javax.swing.undo
Interface StateEditable


public interface StateEditable

StateEditable defines the interface for objects that can have their state undone/redone by a StateEdit.

See Also:
StateEdit sample code for javax.swing.undo.StateEdit definition code for javax.swing.undo.StateEdit

Field Summary
static String sample code for java.lang.String definition code for java.lang.String RCSID sample code for javax.swing.undo.StateEditable.RCSID definition code for javax.swing.undo.StateEditable.RCSID
          Resource ID for this class.
 
Method Summary
 void restoreState sample code for javax.swing.undo.StateEditable.restoreState(java.util.Hashtable) definition code for javax.swing.undo.StateEditable.restoreState(java.util.Hashtable) (Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable <?,?> state)
          Upon receiving this message the receiver should extract any relevant state out of state.
 void storeState sample code for javax.swing.undo.StateEditable.storeState(java.util.Hashtable) definition code for javax.swing.undo.StateEditable.storeState(java.util.Hashtable) (Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable <Object sample code for java.lang.Object definition code for java.lang.Object ,Object sample code for java.lang.Object definition code for java.lang.Object > state)
          Upon receiving this message the receiver should place any relevant state into state.
 

Field Detail

RCSID sample code for javax.swing.undo.StateEditable.RCSID

static final String sample code for java.lang.String definition code for java.lang.String  RCSID
Resource ID for this class.

See Also:
Constant Field Values
Method Detail

storeState sample code for javax.swing.undo.StateEditable.storeState(java.util.Hashtable<java.lang.Object, java.lang.Object>) definition code for javax.swing.undo.StateEditable.storeState(java.util.Hashtable<java.lang.Object, java.lang.Object>)

void storeState(Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable <Object sample code for java.lang.Object definition code for java.lang.Object ,Object sample code for java.lang.Object definition code for java.lang.Object > state)
Upon receiving this message the receiver should place any relevant state into state.


restoreState sample code for javax.swing.undo.StateEditable.restoreState(java.util.Hashtable<?, ?>) definition code for javax.swing.undo.StateEditable.restoreState(java.util.Hashtable<?, ?>)

void restoreState(Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable <?,?> state)
Upon receiving this message the receiver should extract any relevant state out of state.