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,- PropertyChangeListener,- Cloneable,- EventListener
This class represents a shape for a document inside a page of another document.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
- 
Field SummaryFields inherited from class com.inductiveautomation.rm.shape.RMShapeBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidanimatorStarted(RMAnimator anAnimator) Animator Listener method.voidanimatorStopped(RMAnimator anAnimator) Animator listener method.voidanimatorUpdated(RMAnimator anAnimator) Animator Listener method.getChildAnimator(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.floatReturns the number of seconds the nested doc animation will wait between loops.Returns the nested document.floatReturns the relative speed of the nested docs animation relative to the master document.Returns the selected page.intReturns 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.booleanEditor 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, toXMLShapeMethods 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, yMethods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
- 
Constructor Details- 
RMNestedDocpublic RMNestedDoc()
 
- 
- 
Method Details- 
getNestedDocReturns the nested document.
- 
setNestedDocSets 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.
- 
getSelectedPageReturns 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.
- 
setParentOverrides shape method to register this with animator listener, so nested doc can update child timeline.
- 
getChildAnimatorReturns the child animator associated with this page, creating one if it doesn't exist (if requested).- Overrides:
- getChildAnimatorin class- RMShape
 
- 
setChildAnimatorSets the child animator associated with this page.
- 
animatorStartedAnimator Listener method.- Specified by:
- animatorStartedin interface- RMAnimator.Listener
 
- 
animatorStoppedAnimator listener method.- Specified by:
- animatorStoppedin interface- RMAnimator.Listener
 
- 
animatorUpdatedAnimator Listener method.- Specified by:
- animatorUpdatedin interface- RMAnimator.Listener
 
- 
superSelectablepublic boolean superSelectable()Editor method - indicates that nested doc is super-selectable.- Overrides:
- superSelectablein class- RMShape
 
 
-