Klasse SimpleUnitDatelineModel
java.lang.Object
com.flexganttfx.model.dateline.DatelineModel<SimpleUnit>
com.flexganttfx.model.dateline.SimpleUnitDatelineModel
Represents a dateline model for managing temporal resolutions using the SimpleUnit enumeration.
This class extends the generic
DatelineModel class and provides specific behaviors
for handling SimpleUnit-based resolutions.
The model initializes by adding resolutions corresponding to all available values of the
SimpleUnit enumeration, each mapped to an increment value of 1.- Seit:
- 1.0
-
Eigenschaftsübersicht
Von Klasse geerbte Eigenschaften DatelineModel
maxScaleCount, minScaleCount, scaleCount -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungnextTemporalUnit(SimpleUnit unit) Returns the next larger temporal unit for the given temporal unit, e.g. when passingChronoUnit.HOURSthis method might returnChronoUnit.DAYS.Von Klasse geerbte Methoden DatelineModel
addResolution, addZoneId, clearResolutions, clearResolutions, getAvailableZoneIds, getMaxScaleCount, getMinScaleCount, getResolutions, getResolutions, getScaleCount, getTemporalUnits, maxScaleCountProperty, minScaleCountProperty, removeResolution, scaleCountProperty, setMaxScaleCount, setMinScaleCount, setScaleCount
-
Konstruktordetails
-
SimpleUnitDatelineModel
public SimpleUnitDatelineModel()
-
-
Methodendetails
-
nextTemporalUnit
Beschreibung aus Klasse kopiert:DatelineModelReturns the next larger temporal unit for the given temporal unit, e.g. when passingChronoUnit.HOURSthis method might returnChronoUnit.DAYS.- Angegeben von:
nextTemporalUnitin KlasseDatelineModel<SimpleUnit>- Parameter:
unit- the unit for which to return the next higher unit- Gibt zurück:
- the next higher temporal unit
-