Package com.inductiveautomation.rm.shape
Class RMNestedDoc
- java.lang.Object
- 
- com.inductiveautomation.rm.base.RMListenerList
- 
- com.inductiveautomation.rm.base.RMObject
- 
- com.inductiveautomation.rm.shape.RMShape
- 
- com.inductiveautomation.rm.shape.RMParentShape
- 
- com.inductiveautomation.rm.shape.RMNestedDoc
 
 
 
 
 
- 
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- RMAnimator.Listener,- java.beans.PropertyChangeListener,- java.lang.Cloneable,- java.util.EventListener
 
 public class RMNestedDoc extends RMParentShape implements RMAnimator.Listener This class represents a shape for a document inside a page of another document.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.rm.shape.RMShapeBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description RMNestedDoc()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanimatorStarted(RMAnimator anAnimator)Animator Listener method.voidanimatorStopped(RMAnimator anAnimator)Animator listener method.voidanimatorUpdated(RMAnimator anAnimator)Animator Listener method.RMAnimatorgetChildAnimator(boolean doCreate)Returns the child animator associated with this page, creating one if it doesn't exist (if requested).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.RMDocumentgetNestedDoc()Returns the nested document.floatgetScaleFactor()Returns the relative speed of the nested docs animation relative to the master document.RMPagegetSelectedPage()Returns the selected page.intgetSelectedPageIndex()Returns the selected page index.protected voidsetChildAnimator(RMAnimator anAnimator)Sets the child animator associated with this page.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.voidsetNestedDoc(RMDocument aDoc)Sets the nested document.voidsetParent(RMParentShape 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-selectable.- 
Methods inherited from class com.inductiveautomation.rm.shape.RMParentShapeaddChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, clone, cloneDeep, computePrefHeight, computePrefWidth, divideShapeFromTop, fromXML, fromXMLChildren, fromXMLShape, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isHittable, isShowing, isSourceURLSet, layout, layoutChildren, relayout, removeChild, removeChild, removeChildren, removeLayoutChild, rpgAll, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXML, toXMLChildren, toXMLShape
 - 
Methods inherited from class com.inductiveautomation.rm.shape.RMShapeacceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, deepChange, divideShapeFromEdge, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChildAnimator, getChildClipShape, getClipShape, getColor, getDashArrayString, getDashPhase, getDatasetEntity, getDatasetKey, getDisplayedFill, getDisplayedStroke, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPath, getPathInBounds, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getPropertyNames, getRoll, getRootShape, getRSS, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDeletable, isDescendant, isEditing, isEnabled, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isShowing, isUnderlined, isUseFill, isUseStroke, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShape, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, resolvePageReferences, rpgBindings, rpgShape, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeStyle, setStrokeWidth, setTextColor, setTime, setTimeline, setUnderlined, setURL, setUseFill, setUseStroke, setVisible, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getNestedDocpublic RMDocument getNestedDoc() Returns the nested document.
 - 
setNestedDocpublic void setNestedDoc(RMDocument aDoc) Sets the nested document.
 - 
getSelectedPageIndexpublic int getSelectedPageIndex() Returns the selected page index.
 - 
setSelectedPageIndexpublic void setSelectedPageIndex(int anIndex) Sets the selected page index for the nested doc.
 - 
getSelectedPagepublic RMPage getSelectedPage() Returns the selected page.
 - 
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.
 - 
setParentpublic void setParent(RMParentShape aParent) Overrides shape method to register this with animator listener, so nested doc can update child timeline.
 - 
getChildAnimatorpublic RMAnimator getChildAnimator(boolean doCreate) Returns the child animator associated with this page, creating one if it doesn't exist (if requested).- Overrides:
- getChildAnimatorin class- RMShape
 
 - 
setChildAnimatorprotected void setChildAnimator(RMAnimator anAnimator) Sets the child animator associated with this page.
 - 
animatorStartedpublic void animatorStarted(RMAnimator anAnimator) Animator Listener method.- Specified by:
- animatorStartedin interface- RMAnimator.Listener
 
 - 
animatorStoppedpublic void animatorStopped(RMAnimator anAnimator) Animator listener method.- Specified by:
- animatorStoppedin interface- RMAnimator.Listener
 
 - 
animatorUpdatedpublic void animatorUpdated(RMAnimator anAnimator) Animator Listener method.- Specified by:
- animatorUpdatedin interface- RMAnimator.Listener
 
 - 
superSelectablepublic boolean superSelectable() Editor method - indicates that nested doc is super-selectable.- Overrides:
- superSelectablein class- RMShape
 
 
- 
 
-