- 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 theChronoUnit
temporal unit. This model is the default model used by the Gantt chart.- Since:
- 1.0
-
-
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, getSmallestTemporalUnit, getStartTime, horizonEndTimeProperty, horizonStartTimeProperty, maximumMillisPerPixelProperty, millisPerPixelProperty, minimumMillisPerPixelProperty, nowLocationProperty, nowProperty, setHorizonEndTime, setHorizonStartTime, setMaximumMillisPerPixel, setMillisPerPixel, setMinimumMillisPerPixel, setNow, setStartTime, setZoomRange, smallestTemporalUnitProperty, startTimeProperty
-
-
-
-
Constructor Detail
-
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
-
-