Package com.reportmill.shape
Class RMNestedDoc
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.shape.RMShape
- 
- com.reportmill.shape.RMNestedDoc
 
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- RMAnimator.Listener,- java.lang.Cloneable
 
 public class RMNestedDoc extends RMShape implements RMAnimator.Listener This class represents a shape for a document inside a page of another document.
- 
- 
Field Summary- 
Fields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
 
- 
 - 
Constructor SummaryConstructors Constructor Description RMNestedDoc()Creates an unitialized nested doc.RMNestedDoc(RMDocument aDocument)Creates a new nested doc for given doc.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsChildren()Editor method - indicates that nested doc can't accept children.voidanimatorDidStop(RMAnimator anAnimator)Animator listener callback.voidanimatorDidUpdate(RMAnimator anAnimator)Animator listener callback.booleanchildrenSuperSelectImmediately()Editor method - indicates that children super-select immediately.RMShapecloneDeep()Clone deep implemenation.voidcopy(java.lang.Object anObj)Standard copy implementation.booleanequals(java.lang.Object anObj)Standard equals implementaion.RMAnimatorgetChildAnimator(boolean create)Returns the child animator for the nested doc (creating if absent and requested).java.util.ListgetChildrenWhoHitTest()Editor method - indicates that children aren't selectable.floatgetDelay()Returns the number of seconds the nested doc animation time lags the master document.floatgetGapDelay()Returns the number of seconds the nested doc animation will wait between loops.intgetPageCount()Returns the number of pages in nested doc.floatgetScaleFactor()Returns the relative speed of the nested docs animation relative to the master document.java.lang.ObjectinitWithArchiver(RMArchiver anArchiver)Legacy unarchival.RMShaperpgClone(ReportMill reportMill)RPG clone - returns a specific page.voidrpgClonePreprocess(ReportMill reportMill)RPG cline - does work of nested doc.voidsetDelay(float aValue)Sets the number of seconds the nested doc animation time lags the master document.voidsetGapDelay(float aValue)Sets the number of seconds the nested doc animation will wait between loops.voidsetParent(RMShape aParent)Overrides shape method to register this with animator listener, so nested doc can update child timeline.voidsetScaleFactor(float aValue)Sets the relative speed of the nested docs animation relative to the master document.voidsetSelectedPageIndex(int anIndex)Sets the selected page index for the nested doc.booleansuperSelectable()Editor method - indicates that nested doc is super-selctable.- 
Methods inherited from class com.reportmill.shape.RMShapeacceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, clone, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, fromXML, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidth, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, toString, toXML, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
 - 
Methods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
 
- 
 
- 
- 
- 
Constructor Detail- 
RMNestedDocpublic RMNestedDoc() Creates an unitialized nested doc.
 - 
RMNestedDocpublic RMNestedDoc(RMDocument aDocument) Creates a new nested doc for given doc.
 
- 
 - 
Method Detail- 
getDelaypublic float getDelay() Returns the number of seconds the nested doc animation time lags the master document.
 - 
setDelaypublic void setDelay(float aValue) Sets the number of seconds the nested doc animation time lags the master document.
 - 
getScaleFactorpublic float getScaleFactor() Returns the relative speed of the nested docs animation relative to the master document.
 - 
setScaleFactorpublic void setScaleFactor(float aValue) Sets the relative speed of the nested docs animation relative to the master document.
 - 
getGapDelaypublic float getGapDelay() Returns the number of seconds the nested doc animation will wait between loops.
 - 
setGapDelaypublic void setGapDelay(float aValue) Sets the number of seconds the nested doc animation will wait between loops.
 - 
setSelectedPageIndexpublic void setSelectedPageIndex(int anIndex) Sets the selected page index for the nested doc.
 - 
getChildAnimatorpublic RMAnimator getChildAnimator(boolean create) Returns the child animator for the nested doc (creating if absent and requested).- Overrides:
- getChildAnimatorin class- RMShape
 
 - 
setParentpublic void setParent(RMShape aParent) Overrides shape method to register this with animator listener, so nested doc can update child timeline.
 - 
animatorDidUpdatepublic void animatorDidUpdate(RMAnimator anAnimator) Animator listener callback.- Specified by:
- animatorDidUpdatein interface- RMAnimator.Listener
 
 - 
animatorDidStoppublic void animatorDidStop(RMAnimator anAnimator) Animator listener callback.- Specified by:
- animatorDidStopin interface- RMAnimator.Listener
 
 - 
getPageCountpublic int getPageCount() Returns the number of pages in nested doc.- Overrides:
- getPageCountin class- RMShape
 
 - 
rpgClonePreprocesspublic void rpgClonePreprocess(ReportMill reportMill) RPG cline - does work of nested doc.- Overrides:
- rpgClonePreprocessin class- RMShape
 
 - 
rpgClonepublic RMShape rpgClone(ReportMill reportMill) RPG clone - returns a specific page.
 - 
equalspublic boolean equals(java.lang.Object anObj) Standard equals implementaion.
 - 
copypublic void copy(java.lang.Object anObj) Standard copy implementation.
 - 
cloneDeeppublic RMShape cloneDeep() Clone deep implemenation.
 - 
initWithArchiverpublic java.lang.Object initWithArchiver(RMArchiver anArchiver) Legacy unarchival.- Specified by:
- initWithArchiverin interface- RMArchiver.Archiving
- Overrides:
- initWithArchiverin class- RMShape
 
 - 
superSelectablepublic boolean superSelectable() Editor method - indicates that nested doc is super-selctable.- Overrides:
- superSelectablein class- RMShape
 
 - 
childrenSuperSelectImmediatelypublic boolean childrenSuperSelectImmediately() Editor method - indicates that children super-select immediately.- Overrides:
- childrenSuperSelectImmediatelyin class- RMShape
 
 - 
acceptsChildrenpublic boolean acceptsChildren() Editor method - indicates that nested doc can't accept children.- Overrides:
- acceptsChildrenin class- RMShape
 
 - 
getChildrenWhoHitTestpublic java.util.List getChildrenWhoHitTest() Editor method - indicates that children aren't selectable.- Overrides:
- getChildrenWhoHitTestin class- RMShape
 
 
- 
 
-