java.lang.Object
com.flexganttfx.model.dateline.DatelineModel<SimpleUnit>
com.flexganttfx.model.dateline.SimpleUnitDatelineModel
public final class SimpleUnitDatelineModel extends DatelineModel<SimpleUnit>
-
Property Summary
Properties inherited from class com.flexganttfx.model.dateline.DatelineModel
maxScaleCount, minScaleCount, scaleCount
-
Constructor Summary
Constructors Constructor Description SimpleUnitDatelineModel()
-
Method Summary
Modifier and Type Method Description SimpleUnit
nextTemporalUnit(SimpleUnit unit)
Returns the next larger temporal unit for the given temporal unit, e.g.Methods inherited from class com.flexganttfx.model.dateline.DatelineModel
addResolution, addZoneId, clearResolutions, clearResolutions, getAvailableZoneIds, getMaxScaleCount, getMinScaleCount, getResolutions, getResolutions, getScaleCount, getTemporalUnits, maxScaleCountProperty, minScaleCountProperty, removeResolution, scaleCountProperty, setMaxScaleCount, setMinScaleCount, setScaleCount
-
Constructor Details
-
SimpleUnitDatelineModel
public SimpleUnitDatelineModel()
-
-
Method Details
-
nextTemporalUnit
Description copied from class:DatelineModel
Returns the next larger temporal unit for the given temporal unit, e.g. when passingChronoUnit.HOURS
this method might returnChronoUnit.DAYS
.- Specified by:
nextTemporalUnit
in classDatelineModel<SimpleUnit>
- Parameters:
unit
- the unit for which to return the next higher unit- Returns:
- the next higher temporal unit
-