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

public class RMObject extends Object implements Cloneable, RMArchiver.Archiving
This class forms the basis of many objects to add global functionality, like archiving.
  • Constructor Details

    • RMObject

      public RMObject()
  • Method Details

    • getClassNameShort

      public String getClassNameShort()
      Returns the short class name (sans package name).
    • clone

      public Object clone()
      Returns a basic clone of this object.
      Overrides:
      clone in class Object
    • initWithArchiver

      public Object initWithArchiver(RMArchiver anArchiver)
      Legacy unarchiving.
      Specified by:
      initWithArchiver in interface RMArchiver.Archiving
    • undoClone

      public RMObject undoClone()
      Undo method - returns a clone suitable for undo.
    • undoEquals

      public boolean undoEquals(RMObject anObj)
      Undo method - returns whether an object is equal from the standpoint of undo.
    • undoCopy

      public void undoCopy(RMObject anObj)
      Undo method - copies the attributes of the given object for the purpose of undo.
    • copy

      public void copy(Object anObj)
      Copies the attributes of the given object.
    • didUndo

      public void didUndo()
      Undo method - notifies object that it did undo.
    • didChange

      public void didChange(RMObject old)
      Undo method - notifies object that it did change.
    • getAnimAttribute

      public Object getAnimAttribute(String anAttr)
      Returns initial values for animation.