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 SimpleUnitnextTemporalUnit(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:DatelineModelReturns the next larger temporal unit for the given temporal unit, e.g. when passingChronoUnit.HOURSthis method might returnChronoUnit.DAYS.- Specified by:
nextTemporalUnitin classDatelineModel<SimpleUnit>- Parameters:
unit- the unit for which to return the next higher unit- Returns:
- the next higher temporal unit
-