Package org.vanted.animation.data
Class TimePoint<T>
java.lang.Object
org.vanted.animation.data.TimePoint<T>
- Direct Known Subclasses:
- BooleanTimePoint,- InterpolatableTimePoint,- StringTimePoint
public abstract class TimePoint<T> extends Object
- Author:
- - Patrick Shaw
- 
Constructor Summary
- 
Method SummaryModifier and Type Method Description TgetDataValue()doublegetTime()voidsetDataValue(T dataValue)voidsetTime(double time)voidsetTime(long time, TimeUnit timeUnit)Sets the time at which the data point's data value should be expressed.StringtoString()
- 
Constructor Details- 
TimePoint
 
- 
- 
Method Details- 
getTimepublic double getTime()- Returns:
 
- 
setTimepublic void setTime(double time)- Parameters:
- time- Number of milliseconds at which the data point's data value should be expressed.
 
- 
setTimeSets the time at which the data point's data value should be expressed.- Parameters:
- time- The magnitude of the time value.
- The- unit of time.
 
- 
getDataValue- Returns:
- The value of the data point.
 
- 
setDataValue- Parameters:
- dataValue- Sets the data value of the data point.
 
- 
toString
 
-