Class RMObject
java.lang.Object
com.reportmill.base.RMObject
- All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
- Direct Known Subclasses:
AnimAgent, Animation, AnimScript, AttributesPanel, DatasetKeyPanel, DataSource, FormatPanel, Gallery, InspectorPanel, KeysPanel, PDFAnnotation, PDFBuffer, PDFFile, PDFPage, PDFPagesTree, PDFStream, PDFXTable, Prefs, ReportMill, RMAnimAgent, RMAnimator, RMAnimUtils, RMAWTUtils, RMColor, RMData, RMEditorShapes, RMFill, RMFlashShape, RMFont, RMFontFile, RMGrouper, RMGrouping, RMHitInfo, RMImageData, RMInvocation, RMLine, RMPageLayer, RMParagraph, RMPath, RMRange, RMShape, RMShapeAnim, RMShapePainter, RMSize, RMSort, RMSoundData, RMStringWriter, RMTextFrag, RMTextLayout, RMTextLine, RMTransform, RMUndoer, RMUndoer.RMUndoEvent, RMXString, RMXStringRun, ShapeFills, Tool, UndoInspector
This class forms the basis of many objects to add global functionality, like archiving.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a basic clone of this object.voidCopies the attributes of the given object.voidUndo method - notifies object that it did change.voiddidUndo()Undo method - notifies object that it did undo.getAnimAttribute(String anAttr) Returns initial values for animation.Returns the short class name (sans package name).initWithArchiver(RMArchiver anArchiver) Legacy unarchiving.Undo method - returns a clone suitable for undo.voidUndo method - copies the attributes of the given object for the purpose of undo.booleanundoEquals(RMObject anObj) Undo method - returns whether an object is equal from the standpoint of undo.
-
Constructor Details
-
RMObject
public RMObject()
-
-
Method Details
-
getClassNameShort
Returns the short class name (sans package name). -
clone
-
initWithArchiver
Legacy unarchiving.- Specified by:
initWithArchiverin interfaceRMArchiver.Archiving
-
undoClone
Undo method - returns a clone suitable for undo. -
undoEquals
Undo method - returns whether an object is equal from the standpoint of undo. -
undoCopy
Undo method - copies the attributes of the given object for the purpose of undo. -
copy
Copies the attributes of the given object. -
didUndo
public void didUndo()Undo method - notifies object that it did undo. -
didChange
Undo method - notifies object that it did change. -
getAnimAttribute
-