org.apache.batik.anim.timing
public class InstanceTime extends Object implements Comparable
Field Summary | |
---|---|
protected boolean | clearOnReset
Whether this InstanceTime should be removed from an element's
begin or end instance time lists upon reset. |
protected TimingSpecifier | creator
The {@link TimingSpecifier} that created this InstanceTime. |
protected float | time
The time. |
protected Interval | timebase
The Interval on which this InstanceTime is dependent, or null
if the InstanceTime was not created from a syncbase value. |
Constructor Summary | |
---|---|
InstanceTime(TimingSpecifier creator, float time, Interval timebase, boolean clearOnReset)
Creates a new InstanceTime. |
Method Summary | |
---|---|
int | compareTo(Object o)
Compares this InstanceTime with another. |
boolean | getClearOnReset()
Returns whether the InstanceTime should be removed from the
element's begin or end instance time list when it is reset. |
float | getTime()
Returns the time of this instance time. |
String | toString()
Returns a string representation of this InstanceTime. |
Parameters: creator the TimingSpecifier that created this InstanceTime time the new time, in parent simple time timebase the interval from which this InstanceTime was created clearOnReset whether this InstanceTime should be removed from an instance time list upon element reset