Class Animation.ViewOrScrollTimeline

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • startOffset

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Number startOffset
        Represents the starting scroll position of the timeline as a length offset in pixels from scroll origin.
        OPTIONAL
      • endOffset

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Number endOffset
        Represents the ending scroll position of the timeline as a length offset in pixels from scroll origin.
        OPTIONAL
      • subjectNodeId

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Integer subjectNodeId
        The element whose principal box's visibility in the scrollport defined the progress of the timeline. Does not exist for animations with ScrollTimeline
        OPTIONAL
      • axis

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String axis
        Orientation of the scroll

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:

        📎 DOM.ScrollOrientation


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = DOM.ScrollOrientation.enumStrList("axis");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
    • Constructor Detail

      • ViewOrScrollTimeline

        🡅  🡇     🗕  🗗  🗖
        public ViewOrScrollTimeline​(ReadOnlyList<java.lang.Boolean> isPresent,
                                    java.lang.Integer sourceNodeId,
                                    java.lang.Number startOffset,
                                    java.lang.Number endOffset,
                                    java.lang.Integer subjectNodeId,
                                    java.lang.String axis)
        Constructor. Please review this class' fields for documentation.