java.lang.Object
com.flexganttfx.model.timeline.TimelineModel<ChronoUnit>
com.flexganttfx.model.timeline.ChronoUnitTimelineModel
public class ChronoUnitTimelineModel extends TimelineModel<ChronoUnit>
A specialized timeline model for the
ChronoUnit
temporal unit. This
model is the default model used by the Gantt chart.- 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 ChronoUnitTimelineModel()
Constructs a new model with the lowest unit set to minutes and the highest unit set to years. -
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
-
ChronoUnitTimelineModel
public ChronoUnitTimelineModel()Constructs a new model with the lowest unit set to minutes and the highest unit set to years. The start time gets set toInstant.now()
.- Since:
- 1.0
-