public interface TimelineObject extends VisualisationImageProvider
Timeline visualisation to scale the object as necessary
and allow it to align with the time ruler.| Modifier and Type | Method and Description |
|---|---|
long |
getEndTimeMilliseconds()
Returns the end time of the timeline object in the timeline.
|
Dimension |
getPreferredSize()
The timeline object needs to be able to suggest a size, if it
needs a particular amount.
|
Dimension |
getRequiredSize()
Returns the size that this object wishes to be.
|
long |
getStartTimeMilliseconds()
Returns the start time of the timeline object in the timeline.
|
void |
setDataPixelTransformer(DataUnitsTransformer<Float[],double[],int[]> dpt)
The timeline object will need to know how to convert between
time and pixels, and the
DataUnitsTransformer given here
should be able to do that. |
void |
setStartTimeMilliseconds(long l)
Set the start time of this object
|
getVisualisationImage, setRequiredSize, updateVisvoid setDataPixelTransformer(DataUnitsTransformer<Float[],double[],int[]> dpt)
DataUnitsTransformer given here
should be able to do that. Use it to paint the image.dpt - long getStartTimeMilliseconds()
void setStartTimeMilliseconds(long l)
l - The start time in millisecondslong getEndTimeMilliseconds()
Dimension getPreferredSize()
DimensionDimension getRequiredSize()