Package adams.gui.core
Class Undo.UndoPoint
- java.lang.Object
-
- adams.gui.core.Undo.UndoPoint
-
- All Implemented Interfaces:
CloneHandler<Undo.UndoPoint>,Serializable
- Enclosing class:
- Undo
public static class Undo.UndoPoint extends Object implements Serializable, CloneHandler<Undo.UndoPoint>
Represents a single undo point, i.e., data and comment.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Undo.UndoPointgetClone()Returns a copy of itself.StringgetComment()Returns the comment associated with the data.ObjectgetData()Returns the stored data.StringtoString()Returns a string representation of the undo point.
-
-
-
Method Detail
-
getClone
public Undo.UndoPoint getClone()
Returns a copy of itself.- Specified by:
getClonein interfaceCloneHandler<Undo.UndoPoint>- Returns:
- the copy
-
getData
public Object getData()
Returns the stored data.- Returns:
- the data
-
getComment
public String getComment()
Returns the comment associated with the data.- Returns:
- the comment
-
-