org.apache.batik.dom.events

Class DOMTimeEvent

public class DOMTimeEvent extends AbstractEvent implements TimeEvent

An event class for SMIL timing events.
Field Summary
protected intdetail
For repeat events this is the repeat iteration.
protected AbstractViewview
The view from which the event was generated.
Method Summary
intgetDetail()
Returns the repeat iteration if this is a repeat event.
AbstractViewgetView()
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.

Field Detail

detail

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

view

protected AbstractView view
The view from which the event was generated.

Method Detail

getDetail

public int getDetail()
Returns the repeat iteration if this is a repeat event.

getView

public AbstractView getView()
Returns the view from which the event was generated.

initTimeEvent

public void initTimeEvent(String typeArg, AbstractView viewArg, int detailArg)
Initializes the values of the TimeEvent object.

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.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.