Class MetadataTransition


  • public class MetadataTransition
    extends Object
    Defines a page transition for the full screen mode of the document.
    • Constructor Detail

      • MetadataTransition

        public MetadataTransition()
    • Method Detail

      • getAutoScroll

        @Nullable
        public @Nullable Boolean getAutoScroll()
        Whether or not the page is automatically flipped after a short period.
        Returns:
        autoScroll
      • setAutoScroll

        public void setAutoScroll​(Boolean autoScroll)
      • getDirection

        @Nullable
        public @Nullable MetadataTransition.DirectionEnum getDirection()
        The direction of the transition animation (provided that it can be applied to the animation). * leftToRight = From left to right * bottomToTop = From bottom to top * rightToLeft = From right to left * topToBottom = From top to bottom * topLeftToBottomRight = From top left to bottom right * none = Use the default value for the animation
        Returns:
        direction
      • getDuration

        @Nullable
        public @Nullable Float getDuration()
        Selects the duration in seconds, that the animation shall be played for. minimum: 0
        Returns:
        duration
      • setDuration

        public void setDuration​(Float duration)
      • getFlyAreaOpaque

        @Nullable
        public @Nullable Boolean getFlyAreaOpaque()
        For a fly animation, this determines whether or not the opacity shall stay constantly opaque during the animation.
        Returns:
        flyAreaOpaque
      • setFlyAreaOpaque

        public void setFlyAreaOpaque​(Boolean flyAreaOpaque)
      • getFlyScale

        @Nullable
        public @Nullable Float getFlyScale()
        For a fly animation, this determines the initial scale of the page, when flying in.
        Returns:
        flyScale
      • setFlyScale

        public void setFlyScale​(Float flyScale)
      • getObjectKey

        @Nullable
        public @Nullable String getObjectKey()
        The object ID of the transition definition. **Info:** A PDF object ID consists of two numbers, where the first number selects the object's number and the second the \"generation\" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object.
        Returns:
        objectKey
      • setObjectKey

        public void setObjectKey​(String objectKey)
      • getPage

        @Nullable
        public @Nullable Integer getPage()
        The page a transition shall be defined for. minimum: 0
        Returns:
        page
      • setPage

        public void setPage​(Integer page)
      • getStyle

        @Nullable
        public @Nullable MetadataTransition.StyleEnum getStyle()
        The style of transition animation. * blinds = Crossfades * box = Crossfades in a rectangular pattern * cover = Covers * dissolve = Dissolves * fade = Fades * fly = Page flies in * glitter = Page dissolves and is replaced * push = Page is pushed out * split = Splits page * uncover = Uncovers page * wipe = Wipes page * none = No special effect
        Returns:
        style
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object