- All Implemented Interfaces:
Styleable,EventTarget,Skinnable
A TimeSlider is basically a
RangeSlider
for the input of times and durations.
In fact, this implementation wraps a RangeSlider instance that
is configured in a special way.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: TimeSlider.java 1121 2024-03-16 16:51:23Z tquadrat $
- Since:
- 0.4.6
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.fx.control.TimeSlider"
-
Property Summary
PropertiesTypePropertyDescriptionfinal ObjectProperty<LocalDate> Returns a reference to the property that holds the day for the times.final ReadOnlyObjectProperty<Duration> Returns a reference to the property that holds the granularity for theTimeSlider.final ObjectProperty<OffsetTime> Returns a reference to the property that holds the high value.final ObjectProperty<OffsetTime> Returns a reference to the property that holds the low value.final ObjectProperty<LocalTime> Returns a reference to the property that holds the maximum displayed value for thisTimeSlider.Returns a reference to the property that holds the maximum value for thisTimeSlider.Returns a reference to the property that holds the minimum value for thisTimeSlider.Returns a reference to the property that holds the minimum for thisTimeSlider.final BooleanPropertyReturns a reference to the property that holds the flag that indicates whether the low value/high value thumbs of theTimeSlidershould always be aligned with the tick marks.final ReadOnlyObjectProperty<ZoneId> Returns a reference to the property that holds the time zone that is used to determine the offset for the times.Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, focusVisible, focusWithin, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible -
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe granularity for theTimeSlider.private static final classAn implementation ofStyleConverterfor theTimeSlider.Granularity.protected static final classThe styleable properties forTimeSlider. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ObjectProperty<LocalDate> The property for the day for that the times should be set.private final ObjectProperty<Duration> private final StyleableObjectProperty<TimeSlider.Granularity> The property that holds the granularity for theTimeSlider.private final ObjectProperty<OffsetTime> The high value property.private final ObjectProperty<OffsetTime> The low value property.private final ObjectProperty<LocalTime> The property for the maximum displayed value of thisTimeSlider.private final ObjectBinding<ZonedDateTime> The binding that updates the internalm_MaxValueProperty.private final ObjectProperty<ZonedDateTime> The property for the maximum value of thisTimeSlider.private final ObjectProperty<LocalTime> The property for the minimum displayed value of thisTimeSlider.private final ObjectBinding<ZonedDateTime> The binding that updates the internalm_MinValueProperty.private final ObjectProperty<ZonedDateTime> The property for the minimum value of thisTimeSlider.private final StyleableBooleanPropertyThe property for the flag that controls whether the thumbs will snap to the tick marks.private final StyleableObjectProperty<ZoneId> The property for the time zone that is used to calculate the offset for the times.Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZEFields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofTimeSliderfor the current day and the default time zone.TimeSlider(LocalDate day) Creates a new instance ofTimeSliderfor the given day and the default time zone.TimeSlider(LocalDate day, LocalTime min, LocalTime max) Creates a new instance ofTimeSliderfor the given day and the default time zone.TimeSlider(LocalDate day, ZoneId timeZone) Creates a new instance ofTimeSliderfor the given day and the given time zone.TimeSlider(LocalDate day, ZoneId timeZone, LocalTime min, LocalTime max) Creates a new instance ofTimeSliderfor the given day and the given time zone.TimeSlider(LocalTime min, LocalTime max) Creates a new instance ofTimeSliderfor the current day and the default time zone. -
Method Summary
Modifier and TypeMethodDescriptionprotected final Skin<?> private final voiddayChangeListener(ObservableValue<? extends LocalDate> observable, LocalDate oldValue, LocalDate newValue) The implementation ofChangeListenerthat responds on changes to the day property.final ObjectProperty<LocalDate> Returns a reference to the property that holds the day for the times.final ReadOnlyObjectProperty<Duration> final LocalDategetDay()Returns the day for the times.final DurationReturns the duration for the time slider.final TimeSlider.GranularityReturns the granularity for the time slider.final OffsetTimeReturns the current high value for the time slider.final OffsetTimeReturns the current low value for the range slider.final LocalTimegetMax()Returns the maximum displayed value for thisTimeSlider.final LocalTimegetMin()Returns the minimum displayed value for thisTimeSlider.final ZoneIdReturns the time zone that is used to calculate the offset for the times.Returns a reference to the property that holds the granularity for theTimeSlider.final ObjectProperty<OffsetTime> Returns a reference to the property that holds the high value.final booleanReturns the flag that controls whether the thumbs will snap to the tick marks.final ObjectProperty<OffsetTime> Returns a reference to the property that holds the low value.final ObjectProperty<LocalTime> Returns a reference to the property that holds the maximum displayed value for thisTimeSlider.Returns a reference to the property that holds the maximum value for thisTimeSlider.Returns a reference to the property that holds the minimum value for thisTimeSlider.Returns a reference to the property that holds the minimum for thisTimeSlider.final voidSets the day for thisTimeSlider.final voidsetGranularity(TimeSlider.Granularity granularity) Sets the granularity for thisTimeSlider.final voidsetHighValue(LocalTime highValue) final voidsetHighValue(OffsetTime highValue) final voidsetLowValue(LocalTime lowValue) final voidsetLowValue(OffsetTime lowValue) final voidSets the maximum displayed value for thisTimeSlider.final voidSets the minimum displayed value for thisTimeSlider.final voidsetSnapToTicks(boolean flag) Sets the flag that controls whether the thumbs will snap to the tick marks.final BooleanPropertyReturns a reference to the property that holds the flag that indicates whether the low value/high value thumbs of theTimeSlidershould always be aligned with the tick marks.final ReadOnlyObjectProperty<ZoneId> Returns a reference to the property that holds the time zone that is used to determine the offset for the times.Methods inherited from class org.tquadrat.foundation.fx.internal.FoundationFXControl
getUserAgentStylesheetMethods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipPropertyMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsMethods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, focusVisibleProperty, focusWithinProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isFocusVisible, isFocusWithin, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javafx.css.Styleable
getStyleableNode
-
Property Details
-
day
Returns a reference to the property that holds the day for the times.
- See Also:
-
duration
Returns a reference to the property that holds the duration of the time period between low and high.
- See Also:
-
granularity
Returns a reference to the property that holds the granularity for the
TimeSlider. The granularity determines the steps size for the time selection.- See Also:
-
highValue
Returns a reference to the property that holds the high value.
The high value property represents the current position of the high value thumb, and is within the allowable range as specified by the
minandmaxproperties.- See Also:
-
lowValue
Returns a reference to the property that holds the low value.
The low value property represents the current position of the low value thumb, and is within the allowable range as specified by the
minandmaxproperties.- See Also:
-
maxDisplay
Returns a reference to the property that holds the maximum displayed value for this
TimeSlider.- See Also:
-
maxValue
Returns a reference to the property that holds the maximum value for this
TimeSlider.- See Also:
-
minDisplay
Returns a reference to the property that holds the minimum value for this
TimeSlider.- See Also:
-
minValue
Returns a reference to the property that holds the minimum for this
TimeSlider.- See Also:
-
snapToTicks
Returns a reference to the property that holds the flag that indicates whether the low value/high value thumbs of the
TimeSlidershould always be aligned with the tick marks. This is honored even if the tick marks are not shown.- See Also:
-
timeZone
Returns a reference to the property that holds the time zone that is used to determine the offset for the times.
- See Also:
-
-
Field Details
-
m_DayProperty
The property for the day for that the times should be set. The value for this property may not be
null. -
m_DurationProperty
-
m_GranularityProperty
The property that holds the granularity for the
TimeSlider. The granularity determines the steps size for the time selection. -
m_HighValueProperty
-
m_LowValueProperty
-
m_MaxDisplayProperty
The property for the maximum displayed value of thisTimeSlider. -
m_MaxValueProperty
The property for the maximum value of this
TimeSlider.This property is fixed bound to the properties
maxDisplayProperty(),dayProperty()timeZoneProperty(). -
m_MaxValueBinding
The binding that updates the internalm_MaxValueProperty. -
m_MinDisplayProperty
The property for the minimum displayed value of thisTimeSlider. -
m_MinValueProperty
The property for the minimum value of this
TimeSlider.This property is fixed bound to the properties
minDisplayProperty(),dayProperty()timeZoneProperty(). -
m_MinValueBinding
The binding that updates the internalm_MinValueProperty. -
m_SnapToTicksProperty
The property for the flag that controls whether the thumbs will snap to the tick marks. -
m_TimeZoneProperty
The property for the time zone that is used to calculate the offset for the times.
-
-
Constructor Details
-
TimeSlider
public TimeSlider()Creates a new instance of
TimeSliderfor the current day and the default time zone. The time range will be set from 00:00 to 23:59.Once created, the time zone for the
TimeSlidercannot be modified. -
TimeSlider
Creates a new instance of
TimeSliderfor the given day and the default time zone. The time range will be set from 00:00 to 23:59.Once created, the time zone for the
TimeSlidercannot be modified.- Parameters:
day- The day for the time slider.
-
TimeSlider
Creates a new instance of
TimeSliderfor the given day and the given time zone. The time range will be set from 00:00 to 23:59.Once created, the time zone for the
TimeSlidercannot be modified.- Parameters:
day- The day for the time slider.timeZone- The time zone.
-
TimeSlider
Creates a new instance of
TimeSliderfor the current day and the default time zone.Once created, the time zone for the
TimeSlidercannot be modified.- Parameters:
min- The minimum displayed time for the slider.max- The maximum displayed time for the slider.
-
TimeSlider
Creates a new instance of
TimeSliderfor the given day and the default time zone.Once created, the time zone for the
TimeSlidercannot be modified.- Parameters:
day- The day for the time slider.min- The minimum displayed time for the slider.max- The maximum displayed time for the slider.
-
TimeSlider
Creates a new instance of
TimeSliderfor the given day and the given time zone.Once created, the time zone for the
TimeSlidercannot be modified.- Parameters:
day- The day for the time slider.timeZone- The time zone.min- The minimum displayed time for the slider.max- The maximum displayed time for the slider.
-
-
Method Details
-
createDefaultSkin
- Overrides:
createDefaultSkinin classControl
-
dayChangeListener
private final void dayChangeListener(ObservableValue<? extends LocalDate> observable, LocalDate oldValue, LocalDate newValue) The implementation ofChangeListenerthat responds on changes to the day property.- Parameters:
observable- The observable.oldValue- The old value.newValue- The new value.
-
dayProperty
Returns a reference to the property that holds the day for the times.
- Returns:
- The property reference.
- See Also:
-
durationProperty
Returns a reference to the property that holds the duration of the time period between low and high.
- Returns:
- The property reference.
- See Also:
-
getDay
Returns the day for the times.- Returns:
- The day.
-
getDuration
Returns the duration for the time slider.- Returns:
- The duration.
-
getGranularity
Returns the granularity for the time slider.- Returns:
- The granularity.
-
getHighValue
Returns the current high value for the time slider.- Returns:
- The high value.
-
getLowValue
Returns the current low value for the range slider.- Returns:
- The low value.
-
getMax
Returns the maximum displayed value for this
TimeSlider.23:59:59 is returned if the maximum value has never been set explicitly.
- Returns:
- The maximum value for this time slider.
-
getMin
Returns the minimum displayed value for this
TimeSlider.00:00:00 is returned if the minimum has never been set explicitly.
- Returns:
- The minimum value for this time slider.
-
getTimeZone
Returns the time zone that is used to calculate the offset for the times.- Returns:
- The time zone.
-
granularityProperty
Returns a reference to the property that holds the granularity for the
TimeSlider. The granularity determines the steps size for the time selection.- Returns:
- The property reference.
- See Also:
-
highValueProperty
Returns a reference to the property that holds the high value.
The high value property represents the current position of the high value thumb, and is within the allowable range as specified by the
minandmaxproperties.- Returns:
- The property reference.
- See Also:
-
isSnapToTicks
Returns the flag that controls whether the thumbs will snap to the tick marks.- Returns:
trueif the thumbs will snap to the tick marks, otherwisefalse.- See Also:
-
lowValueProperty
Returns a reference to the property that holds the low value.
The low value property represents the current position of the low value thumb, and is within the allowable range as specified by the
minandmaxproperties.- Returns:
- The property reference.
- See Also:
-
maxDisplayProperty
Returns a reference to the property that holds the maximum displayed value for this
TimeSlider.- Returns:
- The property reference.
-
maxValueProperty
Returns a reference to the property that holds the maximum value for this
TimeSlider.- Returns:
- The property reference.
-
minDisplayProperty
Returns a reference to the property that holds the minimum value for this
TimeSlider.- Returns:
- The property reference.
-
minValueProperty
Returns a reference to the property that holds the minimum for this
TimeSlider.- Returns:
- The property reference.
-
setDay
Sets the day for thisTimeSlider.- Parameters:
day- The day.
-
setGranularity
Sets the granularity for thisTimeSlider.- Parameters:
granularity- The granularity.
-
setHighValue
Sets the high value for thisTimeSlider, which may or may not be clamped to be within the allowable range as specified by theminandmaxproperties.- Parameters:
highValue- The value.
-
setHighValue
Sets the high value for thisTimeSlider, which may or may not be clamped to be within the allowable range as specified by theminandmaxproperties.- Parameters:
highValue- The value.
-
setLowValue
Sets the low value for thisTimeSlider, which may or may not be clamped to be within the allowable range as specified by theminandmaxproperties.- Parameters:
lowValue- The value.
-
setLowValue
Sets the low value for thisTimeSlider, which may or may not be clamped to be within the allowable range as specified by theminandmaxproperties.- Parameters:
lowValue- The value.
-
setMax
Sets the maximum displayed value for thisTimeSlider.- Parameters:
max- The new value.
-
setMin
Sets the minimum displayed value for thisTimeSlider.- Parameters:
min- The new value
-
setSnapToTicks
Sets the flag that controls whether the thumbs will snap to the tick marks.- Parameters:
flag-trueif the thumbs snaps to the tick marks,falseif not.- See Also:
-
snapToTicksProperty
Returns a reference to the property that holds the flag that indicates whether the low value/high value thumbs of the
TimeSlidershould always be aligned with the tick marks. This is honored even if the tick marks are not shown.- Returns:
- The property reference.
- See Also:
-
timeZoneProperty
Returns a reference to the property that holds the time zone that is used to determine the offset for the times.
- Returns:
- The property reference.
- See Also:
-
