public abstract class DayViewBase extends DateControl implements ZonedDateTimeProvider
DayViewBase.HoursLayoutStrategy
). This control also supports an early /
late hours concept where these hours can either be shown, or hidden, or shown
in a compressed way (see DayViewBase.EarlyLateHoursStrategy
). The idea behind
early / late hours is that often applications do not work with all 24 hours
of a day and hiding or compressing these hours allow the user to focus on
the relevant hours.Type | Property and Description |
---|---|
ReadOnlyObjectProperty<LocalTime> |
earliestTimeUsed
A read-only property used for informing the application about the earliest time point used
by any of the calendar entries currently shown by the view.
|
ObjectProperty<DayViewBase.EarlyLateHoursStrategy> |
earlyLateHoursStrategy
Specifies a strategy for dealing with early / late hours.
|
BooleanProperty |
enableCurrentTimeMarker
A property used to signal whether the application wants to use the red (default) line
used for marking the current system time.
|
DoubleProperty |
entryWidthPercentage
A percentage value used to specify how much of the available width inside the
view will be utilized by the entry views.
|
DoubleProperty |
hourHeightCompressed
The height used for each early / late hour shown by the view when using
the
DayViewBase.EarlyLateHoursStrategy.SHOW_COMPRESSED strategy. |
DoubleProperty |
hourHeight
The height used for each hour shown by the view.
|
ObjectProperty<DayViewBase.HoursLayoutStrategy> |
hoursLayoutStrategy
The layout strategy used by this view for showing hours.
|
ReadOnlyObjectProperty<LocalTime> |
latestTimeUsed
A read-only property used for informing the application about the latest time point used
by any of the calendar entries currently shown by the view.
|
ReadOnlyBooleanProperty |
showCurrentTimeMarker
A read-only property used to indicate whether the view should show the
"current time" marker.
|
ReadOnlyBooleanProperty |
showCurrentTimeTodayMarker
A read-only property used to indicate whether the view should show the
"current time today" marker.
|
BooleanProperty |
trimTimeBounds |
IntegerProperty |
visibleHours
The number of visible hours that the application wants to present to the
user at any time.
|
calendarSourceFactoryProperty, calendarsProperty, contextMenuCallbackProperty, dateDetailsCallbackProperty, dateProperty, defaultCalendarProviderProperty, draggedEntryProperty, enableHyperlinksProperty, endTimeProperty, entryContextMenuCallbackProperty, entryDetailsCallbackProperty, entryDetailsPopOverContentCallbackProperty, entryFactoryProperty, layoutProperty, requestedTimeProperty, selectionModeProperty, showTodayProperty, startTimeProperty, suspendUpdatesProperty, timeProperty, todayProperty, usagePolicyProperty, virtualGridProperty, weekFieldsProperty, zoneIdProperty
contextMenuProperty, skinClassNameProperty, skinProperty, tooltipProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, heightProperty, insetsProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, opaqueInsetsProperty, paddingProperty, prefHeightProperty, prefWidthProperty, scaleShapeProperty, shapeProperty, snapToPixelProperty, widthProperty
impl_traversalEngineProperty, needsLayoutProperty
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, impl_treeVisibleProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, nodeOrientationProperty, 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, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visibleProperty
Modifier and Type | Class and Description |
---|---|
static class |
DayViewBase.EarlyLateHoursStrategy
An enumerator used for specifying how to deal with late and early hours.
|
static class |
DayViewBase.HoursLayoutStrategy
An enumerator used for specifying how to lay out hours.
|
DateControl.ContextMenuParameter, DateControl.CreateCalendarSourceParameter, DateControl.CreateEntryParameter, DateControl.DateDetailsParameter, DateControl.EntryContextMenuParameter, DateControl.EntryDetailsParameter, DateControl.EntryDetailsPopOverContentParameter, DateControl.Layout, DateControl.Usage
usagePolicy
USE_COMPUTED_SIZE, USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
Constructor and Description |
---|
DayViewBase()
Constructs a new view.
|
Modifier and Type | Method and Description |
---|---|
void |
bind(DayViewBase otherControl,
boolean bindDate)
Invokes
DateControl.bind(DateControl, boolean) and adds some more
bindings between this control and the given control. |
ReadOnlyObjectProperty<LocalTime> |
earliestTimeUsedProperty()
A read-only property used for informing the application about the earliest time point used
by any of the calendar entries currently shown by the view.
|
ObjectProperty<DayViewBase.EarlyLateHoursStrategy> |
earlyLateHoursStrategyProperty()
Specifies a strategy for dealing with early / late hours.
|
BooleanProperty |
enableCurrentTimeMarkerProperty()
A property used to signal whether the application wants to use the red (default) line
used for marking the current system time.
|
DoubleProperty |
entryWidthPercentageProperty()
A percentage value used to specify how much of the available width inside the
view will be utilized by the entry views.
|
LocalTime |
getEarliestTimeUsed()
Returns the value of
earliestTimeUsedProperty() . |
DayViewBase.EarlyLateHoursStrategy |
getEarlyLateHoursStrategy()
Returns the value of
earlyLateHoursStrategyProperty() . |
double |
getEntryWidthPercentage()
Returns the value of
entryWidthPercentageProperty() . |
double |
getHourHeight()
Returns the value of
hourHeightProperty() . |
double |
getHourHeightCompressed()
Returns the value of
hourHeightCompressedProperty() . |
DayViewBase.HoursLayoutStrategy |
getHoursLayoutStrategy()
Returns the value of
hoursLayoutStrategyProperty() . |
LocalTime |
getLatestTimeUsed()
Returns the value of
latestTimeUsedProperty() . |
ObservableList<org.controlsfx.control.PropertySheet.Item> |
getPropertySheetItems()
Returns a list of property items that can be shown by the
PropertySheet of ControlsFX. |
int |
getVisibleHours()
Returns the value of
visibleHoursProperty() . |
ZonedDateTime |
getZonedDateTimeAt(double x,
double y)
Returns the time at the given location.
|
DoubleProperty |
hourHeightCompressedProperty()
The height used for each early / late hour shown by the view when using
the
DayViewBase.EarlyLateHoursStrategy.SHOW_COMPRESSED strategy. |
DoubleProperty |
hourHeightProperty()
The height used for each hour shown by the view.
|
ObjectProperty<DayViewBase.HoursLayoutStrategy> |
hoursLayoutStrategyProperty()
The layout strategy used by this view for showing hours.
|
boolean |
isEnableCurrentTimeMarker()
Returns the value of
enableCurrentTimeMarkerProperty() . |
boolean |
isShowCurrentTimeMarker()
Returns the value of
showCurrentTimeMarkerProperty() . |
boolean |
isShowCurrentTimeTodayMarker()
Returns the value of
showCurrentTimeTodayMarkerProperty() . |
boolean |
isTrimTimeBounds()
Gets the value of the property trimTimeBounds.
|
ReadOnlyObjectProperty<LocalTime> |
latestTimeUsedProperty()
A read-only property used for informing the application about the latest time point used
by any of the calendar entries currently shown by the view.
|
void |
setEarlyLateHoursStrategy(DayViewBase.EarlyLateHoursStrategy strategy)
Sets the value of
earlyLateHoursStrategyProperty() . |
void |
setEnableCurrentTimeMarker(boolean enable)
Sets the value of
enableCurrentTimeMarkerProperty() . |
void |
setEntryWidthPercentage(double percentage)
Sets the value of
entryWidthPercentage . |
void |
setHourHeight(double height)
Sets the value of
hourHeightProperty() . |
void |
setHourHeightCompressed(double height)
Sets the value of
hourHeightCompressedProperty() . |
void |
setHoursLayoutStrategy(DayViewBase.HoursLayoutStrategy strategy)
Sets the value of
hoursLayoutStrategyProperty() . |
void |
setTrimTimeBounds(boolean trimTimeBounds)
Sets the value of the property trimTimeBounds.
|
void |
setVisibleHours(int hours)
Sets the value of
visibleHoursProperty() . |
ReadOnlyBooleanProperty |
showCurrentTimeMarkerProperty()
A read-only property used to indicate whether the view should show the
"current time" marker.
|
ReadOnlyBooleanProperty |
showCurrentTimeTodayMarkerProperty()
A read-only property used to indicate whether the view should show the
"current time today" marker.
|
BooleanProperty |
trimTimeBoundsProperty() |
void |
unbind(DayViewBase otherControl) |
IntegerProperty |
visibleHoursProperty()
The number of visible hours that the application wants to present to the
user at any time.
|
bind, calendarSourceFactoryProperty, calendarsProperty, clearSelection, contextMenuCallbackProperty, createCalendarSource, createEntryAt, createEntryAt, dateDetailsCallbackProperty, dateProperty, defaultCalendarProviderProperty, deselect, draggedEntryProperty, editEntry, enableHyperlinksProperty, endTimeProperty, entryContextMenuCallbackProperty, entryDetailsCallbackProperty, entryDetailsPopOverContentCallbackProperty, entryFactoryProperty, findEntryView, getBoundDateControls, getCalendarAt, getCalendars, getCalendarSourceFactory, getCalendarSources, getCalendarVisibilityMap, getCalendarVisibilityProperty, getContextMenuCallback, getDate, getDateDetailsCallback, getDefaultCalendarProvider, getDraggedEntry, getEndTime, getEntryContextMenuCallback, getEntryDetailsCallback, getEntryDetailsPopOverContentCallback, getEntryFactory, getFirstDayOfWeek, getLayout, getRequestedTime, getSelectionMode, getSelections, getStartTime, getTime, getToday, getUsagePolicy, getVirtualGrid, getWeekendDays, getWeekFields, getZoneId, goBack, goForward, goToday, isCalendarVisible, isEnableHyperlinks, isShowToday, isSuspendUpdates, layoutProperty, refreshData, requestedTimeProperty, select, selectionModeProperty, setCalendarSourceFactory, setCalendarVisibility, setContextMenuCallback, setDate, setDateDetailsCallback, setDefaultCalendarProvider, setDraggedEntry, setEnableHyperlinks, setEndTime, setEntryContextMenuCallback, setEntryDetailsCallback, setEntryDetailsPopOverContentCallback, setEntryFactory, setLayout, setRequestedTime, setSelectionMode, setShowToday, setStartTime, setSuspendUpdates, setTime, setToday, setUsagePolicy, setVirtualGrid, setWeekFields, setZoneId, showDateDetails, showEntry, showTodayProperty, startTimeProperty, suspendUpdatesProperty, timeProperty, todayProperty, unbind, usagePolicyProperty, virtualGridProperty, weekFieldsProperty, zoneIdProperty
getUserAgentStylesheet
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getSkin, getTooltip, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinClassNameProperty, skinProperty, tooltipProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, 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, snapSize, snapSpace, snapToPixelProperty, widthProperty
getChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBounds
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, 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, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, 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, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visibleProperty
public final DoubleProperty entryWidthPercentageProperty
public final ObjectProperty<DayViewBase.EarlyLateHoursStrategy> earlyLateHoursStrategyProperty
public final ObjectProperty<DayViewBase.HoursLayoutStrategy> hoursLayoutStrategyProperty
public final IntegerProperty visibleHoursProperty
getVisibleHours()
,
setVisibleHours(int)
public final DoubleProperty hourHeightProperty
getHourHeight()
,
setHourHeight(double)
public final DoubleProperty hourHeightCompressedProperty
DayViewBase.EarlyLateHoursStrategy.SHOW_COMPRESSED
strategy.public final ReadOnlyBooleanProperty showCurrentTimeMarkerProperty
TimeScaleView
) or a
thin red line (see red time label and line in image below).
isShowCurrentTimeMarker()
public final ReadOnlyBooleanProperty showCurrentTimeTodayMarkerProperty
isShowCurrentTimeTodayMarker()
public final BooleanProperty enableCurrentTimeMarkerProperty
public final ReadOnlyObjectProperty<LocalTime> earliestTimeUsedProperty
getEarliestTimeUsed()
public final ReadOnlyObjectProperty<LocalTime> latestTimeUsedProperty
getLatestTimeUsed()
public final BooleanProperty trimTimeBoundsProperty
isTrimTimeBounds()
,
setTrimTimeBounds(boolean)
public final DoubleProperty entryWidthPercentageProperty()
public final void setEntryWidthPercentage(double percentage)
entryWidthPercentage
.percentage
- the new percentage widthpublic double getEntryWidthPercentage()
entryWidthPercentageProperty()
.public ZonedDateTime getZonedDateTimeAt(double x, double y)
ZonedDateTimeProvider
getZonedDateTimeAt
in interface ZonedDateTimeProvider
x
- the x coordinate of the input eventy
- the y coordinate of the input eventpublic final ObjectProperty<DayViewBase.EarlyLateHoursStrategy> earlyLateHoursStrategyProperty()
public final void setEarlyLateHoursStrategy(DayViewBase.EarlyLateHoursStrategy strategy)
earlyLateHoursStrategyProperty()
.strategy
- the strategy to use for early / late hourspublic final DayViewBase.EarlyLateHoursStrategy getEarlyLateHoursStrategy()
earlyLateHoursStrategyProperty()
.public final ObjectProperty<DayViewBase.HoursLayoutStrategy> hoursLayoutStrategyProperty()
public final void setHoursLayoutStrategy(DayViewBase.HoursLayoutStrategy strategy)
hoursLayoutStrategyProperty()
.strategy
- the hours layout strategypublic final DayViewBase.HoursLayoutStrategy getHoursLayoutStrategy()
hoursLayoutStrategyProperty()
.public final IntegerProperty visibleHoursProperty()
getVisibleHours()
,
setVisibleHours(int)
public final void setVisibleHours(int hours)
visibleHoursProperty()
.hours
- the number of visible hourspublic final int getVisibleHours()
visibleHoursProperty()
.public final DoubleProperty hourHeightProperty()
getHourHeight()
,
setHourHeight(double)
public final void setHourHeight(double height)
hourHeightProperty()
.height
- the hour heightpublic final double getHourHeight()
hourHeightProperty()
.public final DoubleProperty hourHeightCompressedProperty()
DayViewBase.EarlyLateHoursStrategy.SHOW_COMPRESSED
strategy.public final void setHourHeightCompressed(double height)
hourHeightCompressedProperty()
.height
- the compressed hour heightpublic final double getHourHeightCompressed()
hourHeightCompressedProperty()
.public final ReadOnlyBooleanProperty showCurrentTimeMarkerProperty()
TimeScaleView
) or a
thin red line (see red time label and line in image below).
isShowCurrentTimeMarker()
public final boolean isShowCurrentTimeMarker()
showCurrentTimeMarkerProperty()
.public final ReadOnlyBooleanProperty showCurrentTimeTodayMarkerProperty()
isShowCurrentTimeTodayMarker()
public final boolean isShowCurrentTimeTodayMarker()
showCurrentTimeTodayMarkerProperty()
.public final BooleanProperty enableCurrentTimeMarkerProperty()
public final boolean isEnableCurrentTimeMarker()
enableCurrentTimeMarkerProperty()
.public final void setEnableCurrentTimeMarker(boolean enable)
enableCurrentTimeMarkerProperty()
.enable
- if true the current time will be marked with a red line / textpublic final ReadOnlyObjectProperty<LocalTime> earliestTimeUsedProperty()
getEarliestTimeUsed()
public final LocalTime getEarliestTimeUsed()
earliestTimeUsedProperty()
.public final ReadOnlyObjectProperty<LocalTime> latestTimeUsedProperty()
getLatestTimeUsed()
public final LocalTime getLatestTimeUsed()
latestTimeUsedProperty()
.public final BooleanProperty trimTimeBoundsProperty()
isTrimTimeBounds()
,
setTrimTimeBounds(boolean)
public final boolean isTrimTimeBounds()
public final void setTrimTimeBounds(boolean trimTimeBounds)
public final void bind(DayViewBase otherControl, boolean bindDate)
DateControl.bind(DateControl, boolean)
and adds some more
bindings between this control and the given control.otherControl
- the control that will be bound to this controlbindDate
- if true will also bind the date propertypublic final void unbind(DayViewBase otherControl)
public ObservableList<org.controlsfx.control.PropertySheet.Item> getPropertySheetItems()
CalendarFXControl
PropertySheet
of ControlsFX.getPropertySheetItems
in class DateControl
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.