public interface DataTrack extends Trackable
Modifier and Type | Method | Description |
---|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
Adds a PropertyChangeListener.
|
Data |
getData() |
Gets the Data.
|
DataClip |
getDataClip() |
Gets the DataClip, which defines the start index, stepcount and stride.
|
double |
getFrameDuration() |
Gets the data-based video frame duration in seconds if available
|
java.lang.Object |
getSource() |
Gets the source.
|
int |
getStartFrame() |
Gets the video start frame at which the first data point is displayed.
|
VideoPanel |
getVideoPanel() |
Gets the VideoPanel on which this DataTrack is drawn.
|
double |
getVideoStartTime() |
Gets the data-based video start time in seconds if available
|
boolean |
isTimeDataAvailable() |
Determines if time is defined by the Data.
|
void |
setData(Data data,
java.lang.Object source) |
Sets the Data for the track.
|
void |
setStartFrame(int start) |
Sets the video start frame at which the first data point is displayed.
|
void setStartFrame(int start)
start
- the start frame numberint getStartFrame()
void setData(Data data, java.lang.Object source) throws java.lang.Exception
data
- the Datasource
- a source object (may be null)java.lang.Exception
Data getData()
java.lang.Object getSource()
DataClip getDataClip()
VideoPanel getVideoPanel()
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- the PropertyChangeListenerboolean isTimeDataAvailable()
double getVideoStartTime()
double getFrameDuration()