public class RMObject extends java.lang.Object implements java.lang.Cloneable, RMArchiver.Archiving
Constructor and Description |
---|
RMObject() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a basic clone of this object.
|
void |
copy(java.lang.Object anObj)
Copies the attributes of the given object.
|
void |
didChange(RMObject old)
Undo method - notifies object that it did change.
|
void |
didUndo()
Undo method - notifies object that it did undo.
|
java.lang.Object |
getAnimAttribute(java.lang.String anAttr)
Returns initial values for animation.
|
java.lang.String |
getClassNameShort()
Returns the short class name (sans package name).
|
java.lang.Object |
initWithArchiver(RMArchiver anArchiver)
Legacy unarchiving.
|
RMObject |
undoClone()
Undo method - returns a clone suitable for undo.
|
void |
undoCopy(RMObject anObj)
Undo method - copies the attributes of the given object for the purpose of undo.
|
boolean |
undoEquals(RMObject anObj)
Undo method - returns whether an object is equal from the standpoint of undo.
|
public java.lang.String getClassNameShort()
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.Object initWithArchiver(RMArchiver anArchiver)
initWithArchiver
in interface RMArchiver.Archiving
public RMObject undoClone()
public boolean undoEquals(RMObject anObj)
public void undoCopy(RMObject anObj)
public void copy(java.lang.Object anObj)
public void didUndo()
public void didChange(RMObject old)
public java.lang.Object getAnimAttribute(java.lang.String anAttr)