JTP API Documentation

jtp.undo
Class Snapshot

java.lang.Object
  |
  +--jtp.undo.Snapshot

public class Snapshot
extends Object

Represents snapshots of JTP's state based on recorded undoable edits.


Constructor Summary
Snapshot(UndoableEdit e)
           
 
Method Summary
 String getDescription()
           
 UndoableEdit getEdit()
          Returns the UndoableEdit associated with this Snapshot.
 void setDescription(String newDescription)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Snapshot

public Snapshot(UndoableEdit e)
Method Detail

getEdit

public UndoableEdit getEdit()
Returns the UndoableEdit associated with this Snapshot.


getDescription

public String getDescription()

setDescription

public void setDescription(String newDescription)

toString

public String toString()
Overrides:
toString in class Object

JTP API Documentation