java.lang.Object
com.flexganttfx.model.timeline.TimelineModel<SimpleUnit>
com.flexganttfx.model.timeline.SimpleUnitTimelineModel
public class SimpleUnitTimelineModel extends TimelineModel<SimpleUnit>
A specialized timeline model for the
SimpleUnit
temporal unit.- Since:
- 1.0
-
Property Summary
Properties inherited from class com.flexganttfx.model.timeline.TimelineModel
horizonEndTime, horizonStartTime, maximumMillisPerPixel, millisPerPixel, minimumMillisPerPixel, nowLocation, now, offset, smallestTemporalUnit, startTime
-
Constructor Summary
Constructors Constructor Description SimpleUnitTimelineModel()
Constructs a new model with the lowest unit set toSimpleUnit.ONE
and the highest unit set toSimpleUnit.BILLION_HUNDRED
. -
Method Summary
Methods inherited from class com.flexganttfx.model.timeline.TimelineModel
calculateLocationForTime, calculateTimeForLocation, getHorizonEndTime, getHorizonStartTime, getMaximumMillisPerPixel, getMillisPerPixel, getMinimumMillisPerPixel, getNow, getNowLocation, getOffset, getSmallestTemporalUnit, getStartTime, horizonEndTimeProperty, horizonStartTimeProperty, maximumMillisPerPixelProperty, millisPerPixelProperty, minimumMillisPerPixelProperty, nowLocationProperty, nowProperty, offsetProperty, setHorizonEndTime, setHorizonStartTime, setMaximumMillisPerPixel, setMillisPerPixel, setMinimumMillisPerPixel, setNow, setOffset, setStartTime, setZoomRange, smallestTemporalUnitProperty, startTimeProperty
-
Constructor Details
-
SimpleUnitTimelineModel
public SimpleUnitTimelineModel()Constructs a new model with the lowest unit set toSimpleUnit.ONE
and the highest unit set toSimpleUnit.BILLION_HUNDRED
. The start time, the "now" time, and the horizon start time all get set to 0- Since:
- 1.0
-