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:
Cloneable
,OriginalEvent
,Event
,org.w3c.dom.smil.TimeEvent
An event class for SMIL timing events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
For repeat events this is the repeat iteration.protected AbstractView
The 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
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the repeat iteration if this is a repeat event.getView()
Returns the view from which the event was generated.void
initTimeEvent
(String typeArg, AbstractView viewArg, int detailArg) Initializes the values of the TimeEvent object.void
initTimeEventNS
(String namespaceURIArg, String typeArg, AbstractView viewArg, int detailArg) Initializes the values of the TimeEvent object.void
setTimestamp
(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, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, setBubbleLimit, stopImmediatePropagation, stopPropagation
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.events.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:
getView
in interfaceorg.w3c.dom.smil.TimeEvent
-
getDetail
public int getDetail()Returns the repeat iteration if this is a repeat event.- Specified by:
getDetail
in interfaceorg.w3c.dom.smil.TimeEvent
-
initTimeEvent
Initializes the values of the TimeEvent object.- Specified by:
initTimeEvent
in 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.
-