Class DOMTimeEvent

java.lang.Object
org.apache.batik.dom.events.AbstractEvent
org.apache.batik.dom.events.DOMTimeEvent
All Implemented Interfaces:
Cloneable, OriginalEvent, Event, org.w3c.dom.smil.TimeEvent

public class DOMTimeEvent extends AbstractEvent implements org.w3c.dom.smil.TimeEvent
An event class for SMIL timing events.
  • Field Details

    • 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 Details

    • DOMTimeEvent

      public DOMTimeEvent()
  • Method Details

    • 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(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(String namespaceURIArg, 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.