public abstract class TimingSpecifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isBegin
Whether this timing specifier is for a begin time or an end time.
|
protected TimedElement |
owner
The element that owns this timing specifier.
|
Modifier | Constructor and Description |
---|---|
protected |
TimingSpecifier(TimedElement owner,
boolean isBegin)
Creates a new TimingSpecifier object.
|
Modifier and Type | Method and Description |
---|---|
void |
deinitialize()
Deinitializes this timing specifier by removing any event listeners.
|
TimedElement |
getOwner()
Returns the element that owns this timing specifier.
|
(package private) float |
handleTimebaseUpdate(InstanceTime instanceTime,
float newTime)
Called by an
InstanceTime created by this TimingSpecifier
to indicate that its value has changed. |
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.
|
boolean |
isBegin()
Returns true if this timing specifier is in the owner's begin list,
false if it is in the owner's end list.
|
abstract boolean |
isEventCondition()
Returns whether this timing specifier is event-like (i.e., if it is
an eventbase, accesskey or a repeat timing specifier).
|
(package private) float |
newInterval(Interval interval)
Called by the timebase element when it creates a new Interval.
|
(package private) float |
removeInterval(Interval interval)
Called by the timebase element when it deletes an Interval.
|
protected TimedElement owner
protected boolean isBegin
protected TimingSpecifier(TimedElement owner, boolean isBegin)
public TimedElement getOwner()
public boolean isBegin()
public void initialize()
public void deinitialize()
public abstract boolean isEventCondition()
float newInterval(Interval interval)
float removeInterval(Interval interval)
float handleTimebaseUpdate(InstanceTime instanceTime, float newTime)
InstanceTime
created by this TimingSpecifier
to indicate that its value has changed. This should be overriden
in descendant classes that generate time instances based on the
interval of a timebase element.