|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.anim.timing.TimingSpecifier
org.apache.batik.anim.timing.OffsetTimingSpecifier
org.apache.batik.anim.timing.EventLikeTimingSpecifier
org.apache.batik.anim.timing.EventbaseTimingSpecifier
public class EventbaseTimingSpecifier
A class to handle eventbase SMIL timing specifiers.
| Field Summary | |
|---|---|
protected TimedElement |
eventbase
The eventbase element. |
protected String |
eventbaseID
The ID of the eventbase element. |
protected String |
eventName
The animation name of the event to sync to. |
protected String |
eventNamespaceURI
The namespace URI of the event to sync to. |
protected EventTarget |
eventTarget
The eventbase element as an EventTarget. |
protected String |
eventType
The type of the event to sync to. |
| Fields inherited from class org.apache.batik.anim.timing.OffsetTimingSpecifier |
|---|
offset |
| Fields inherited from class org.apache.batik.anim.timing.TimingSpecifier |
|---|
isBegin, owner |
| Constructor Summary | |
|---|---|
EventbaseTimingSpecifier(TimedElement owner,
boolean isBegin,
float offset,
String eventbaseID,
String eventName)
Creates a new EventbaseTimingSpecifier object. |
|
| Method Summary | |
|---|---|
void |
deinitialize()
Deinitializes this timing specifier by removing any event listeners. |
void |
handleEvent(Event e)
Handles an event fired on the eventbase element. |
void |
initialize()
Initializes this timing specifier by adding the initial instance time to the owner's instance time list or setting up any event listeners. |
void |
resolve(Event e)
Invoked to resolve an event-like timing specifier into an instance time. |
String |
toString()
Returns a string representation of this timing specifier. |
| Methods inherited from class org.apache.batik.anim.timing.EventLikeTimingSpecifier |
|---|
isEventCondition |
| Methods inherited from class org.apache.batik.anim.timing.TimingSpecifier |
|---|
getOwner, isBegin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String eventbaseID
protected TimedElement eventbase
protected EventTarget eventTarget
EventTarget.
protected String eventNamespaceURI
protected String eventType
protected String eventName
| Constructor Detail |
|---|
public EventbaseTimingSpecifier(TimedElement owner,
boolean isBegin,
float offset,
String eventbaseID,
String eventName)
| Method Detail |
|---|
public String toString()
toString in class OffsetTimingSpecifierpublic void initialize()
initialize in class OffsetTimingSpecifierpublic void deinitialize()
deinitialize in class TimingSpecifierpublic void handleEvent(Event e)
handleEvent in interface EventListenere - The Event contains contextual information
about the event.public void resolve(Event e)
resolve in class EventLikeTimingSpecifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||