Package com.reportmill.base
Class RMObject
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- All Implemented Interfaces:
RMArchiver.Archiving
,java.lang.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 java.lang.Object implements java.lang.Cloneable, RMArchiver.Archiving
This class forms the basis of many objects to add global functionality, like archiving.
-
-
Constructor Summary
Constructors Constructor Description RMObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getClassNameShort
public java.lang.String getClassNameShort()
Returns the short class name (sans package name).
-
clone
public java.lang.Object clone()
Returns a basic clone of this object.- Overrides:
clone
in classjava.lang.Object
-
initWithArchiver
public java.lang.Object initWithArchiver(RMArchiver anArchiver)
Legacy unarchiving.- Specified by:
initWithArchiver
in interfaceRMArchiver.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(java.lang.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 java.lang.Object getAnimAttribute(java.lang.String anAttr)
Returns initial values for animation.
-
-