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
An event class for SMIL timing events.
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intFor repeat events this is the repeat iteration.protected AbstractViewThe view from which the event was generated.Fields inherited from class AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, typeFields inherited from interface Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the repeat iteration if this is a repeat event.getView()Returns the view from which the event was generated.voidinitTimeEvent(String typeArg, AbstractView viewArg, int detailArg) Initializes the values of the TimeEvent object.voidinitTimeEventNS(String namespaceURIArg, String typeArg, 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 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, stopPropagationMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Field Details
-
view
The view from which the event was generated. -
detail
protected int detailFor repeat events this is the repeat iteration. Unused for the other time events.
-
-
Constructor Details
-
DOMTimeEvent
public DOMTimeEvent()
-
-
Method Details
-
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
Initializes the values of the TimeEvent object.- Specified by:
initTimeEventin interfaceorg.w3c.dom.smil.TimeEvent
-
initTimeEventNS
public void initTimeEventNS(String namespaceURIArg, String typeArg, 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.
-