Class RMNestedDoc

    • Constructor Detail

      • RMNestedDoc

        public RMNestedDoc()
        Creates an unitialized nested doc.
      • RMNestedDoc

        public RMNestedDoc​(RMDocument aDocument)
        Creates a new nested doc for given doc.
    • Method Detail

      • getDelay

        public float getDelay()
        Returns the number of seconds the nested doc animation time lags the master document.
      • setDelay

        public void setDelay​(float aValue)
        Sets the number of seconds the nested doc animation time lags the master document.
      • getScaleFactor

        public float getScaleFactor()
        Returns the relative speed of the nested docs animation relative to the master document.
      • setScaleFactor

        public void setScaleFactor​(float aValue)
        Sets the relative speed of the nested docs animation relative to the master document.
      • getGapDelay

        public float getGapDelay()
        Returns the number of seconds the nested doc animation will wait between loops.
      • setGapDelay

        public void setGapDelay​(float aValue)
        Sets the number of seconds the nested doc animation will wait between loops.
      • setSelectedPageIndex

        public void setSelectedPageIndex​(int anIndex)
        Sets the selected page index for the nested doc.
      • getChildAnimator

        public RMAnimator getChildAnimator​(boolean create)
        Returns the child animator for the nested doc (creating if absent and requested).
        Overrides:
        getChildAnimator in class RMShape
      • setParent

        public void setParent​(RMShape aParent)
        Overrides shape method to register this with animator listener, so nested doc can update child timeline.
        Overrides:
        setParent in class RMShape
      • getPageCount

        public int getPageCount()
        Returns the number of pages in nested doc.
        Overrides:
        getPageCount in class RMShape
      • equals

        public boolean equals​(java.lang.Object anObj)
        Standard equals implementaion.
        Overrides:
        equals in class RMShape
      • copy

        public void copy​(java.lang.Object anObj)
        Standard copy implementation.
        Overrides:
        copy in class RMShape
      • superSelectable

        public boolean superSelectable()
        Editor method - indicates that nested doc is super-selctable.
        Overrides:
        superSelectable in class RMShape
      • childrenSuperSelectImmediately

        public boolean childrenSuperSelectImmediately()
        Editor method - indicates that children super-select immediately.
        Overrides:
        childrenSuperSelectImmediately in class RMShape
      • acceptsChildren

        public boolean acceptsChildren()
        Editor method - indicates that nested doc can't accept children.
        Overrides:
        acceptsChildren in class RMShape
      • getChildrenWhoHitTest

        public java.util.List getChildrenWhoHitTest()
        Editor method - indicates that children aren't selectable.
        Overrides:
        getChildrenWhoHitTest in class RMShape