|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.anim.timing.InstanceTime
public class InstanceTime
A class that represents an instance time created from a timing specification.
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 TimingSpecifier that created this InstanceTime. |
protected float |
time
The time. |
Constructor Summary | |
---|---|
InstanceTime(TimingSpecifier creator,
float time,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected float time
protected TimingSpecifier creator
TimingSpecifier
that created this InstanceTime.
protected boolean clearOnReset
Constructor Detail |
---|
public InstanceTime(TimingSpecifier creator, float time, boolean clearOnReset)
creator
- the TimingSpecifier that created this InstanceTimetime
- the new time, in parent simple timeclearOnReset
- whether this InstanceTime should be removed from
an instance time list upon element resetMethod Detail |
---|
public boolean getClearOnReset()
public float getTime()
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |