Class DOMTimeEvent

  • All Implemented Interfaces:
    java.lang.Cloneable, OriginalEvent, org.w3c.dom.events.Event, org.w3c.dom.smil.TimeEvent

    public class DOMTimeEvent
    extends AbstractEvent
    implements org.w3c.dom.smil.TimeEvent
    An event class for SMIL timing events.
    Version:
    $Id: DOMTimeEvent.java 1733416 2016-03-03 07:07:13Z gadams $
    • Field Detail

      • view

        protected org.w3c.dom.views.AbstractView view
        The view from which the event was generated.
      • detail

        protected int detail
        For repeat events this is the repeat iteration. Unused for the other time events.
    • Constructor Detail

      • DOMTimeEvent

        public DOMTimeEvent()
    • Method Detail

      • getView

        public org.w3c.dom.views.AbstractView getView()
        Returns the view from which the event was generated.
        Specified by:
        getView in interface org.w3c.dom.smil.TimeEvent
      • getDetail

        public int getDetail()
        Returns the repeat iteration if this is a repeat event.
        Specified by:
        getDetail in interface org.w3c.dom.smil.TimeEvent
      • initTimeEvent

        public void initTimeEvent​(java.lang.String typeArg,
                                  org.w3c.dom.views.AbstractView viewArg,
                                  int detailArg)
        Initializes the values of the TimeEvent object.
        Specified by:
        initTimeEvent in interface org.w3c.dom.smil.TimeEvent
      • initTimeEventNS

        public void initTimeEventNS​(java.lang.String namespaceURIArg,
                                    java.lang.String typeArg,
                                    org.w3c.dom.views.AbstractView viewArg,
                                    int detailArg)
        Initializes the values of the TimeEvent object.
      • setTimestamp

        public void setTimestamp​(long timeStamp)
        Sets the timestamp of this time event. This is required for synchronization of time events in the SMIL timing model.