public class EventbaseTimingSpecifier extends EventLikeTimingSpecifier implements EventListener
Modifier and Type | Field and Description |
---|---|
protected TimedElement |
eventbase
The eventbase element.
|
protected java.lang.String |
eventbaseID
The ID of the eventbase element.
|
protected java.lang.String |
eventName
The animation name of the event to sync to.
|
protected java.lang.String |
eventNamespaceURI
The namespace URI of the event to sync to.
|
protected EventTarget |
eventTarget
The eventbase element as an
EventTarget . |
protected java.lang.String |
eventType
The type of the event to sync to.
|
offset
isBegin, owner
Constructor and Description |
---|
EventbaseTimingSpecifier(TimedElement owner,
boolean isBegin,
float offset,
java.lang.String eventbaseID,
java.lang.String eventName)
Creates a new EventbaseTimingSpecifier object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
toString()
Returns a string representation of this timing specifier.
|
isEventCondition
getOwner, isBegin
protected java.lang.String eventbaseID
protected TimedElement eventbase
protected EventTarget eventTarget
EventTarget
.protected java.lang.String eventNamespaceURI
protected java.lang.String eventType
protected java.lang.String eventName
public EventbaseTimingSpecifier(TimedElement owner, boolean isBegin, float offset, java.lang.String eventbaseID, java.lang.String eventName)
public java.lang.String toString()
toString
in class OffsetTimingSpecifier
public void initialize()
initialize
in class OffsetTimingSpecifier
public void deinitialize()
deinitialize
in class TimingSpecifier
public void handleEvent(Event e)
handleEvent
in interface EventListener
public void resolve(Event e)
resolve
in class EventLikeTimingSpecifier
Copyright © 2022 Apache Software Foundation. All Rights Reserved.