Package org.apache.batik.dom.events
Class DOMTimeEvent
- java.lang.Object
-
- org.apache.batik.dom.events.AbstractEvent
-
- org.apache.batik.dom.events.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 Summary
Fields Modifier and Type Field Description protected intdetailFor repeat events this is the repeat iteration.protected org.w3c.dom.views.AbstractViewviewThe view from which the event was generated.-
Fields inherited from class org.apache.batik.dom.events.AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type
-
-
Constructor Summary
Constructors Constructor Description DOMTimeEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDetail()Returns the repeat iteration if this is a repeat event.org.w3c.dom.views.AbstractViewgetView()Returns the view from which the event was generated.voidinitTimeEvent(java.lang.String typeArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)Initializes the values of the TimeEvent object.voidinitTimeEventNS(java.lang.String namespaceURIArg, java.lang.String typeArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)Initializes the values of the TimeEvent object.voidsetTimestamp(long timeStamp)Sets the timestamp of this time event.-
Methods inherited from class org.apache.batik.dom.events.AbstractEvent
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getStopImmediatePropagation, getStopPropagation, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, preventDefault, setBubbleLimit, setCurrentTarget, setEventPhase, setTarget, stopImmediatePropagation, stopImmediatePropagation, stopPropagation, stopPropagation
-
-
-
-
Method Detail
-
getView
public org.w3c.dom.views.AbstractView getView()
Returns the view from which the event was generated.- Specified by:
getViewin interfaceorg.w3c.dom.smil.TimeEvent
-
getDetail
public int getDetail()
Returns the repeat iteration if this is a repeat event.- Specified by:
getDetailin interfaceorg.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:
initTimeEventin interfaceorg.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.
-
-