public class YearMonthView extends MonthViewBase
Type | Property and Description |
---|---|
ObjectProperty<Callback<YearMonthView,YearMonthView.DateCell>> |
cellFactory
A factory for creating alternative content for the month view.
|
ObjectProperty<YearMonthView.ClickBehaviour> |
clickBehaviour
The behaviour used when the user clicks on a date.
|
BooleanProperty |
showMonthArrows
Shows or hides the arrows to change the month.
|
BooleanProperty |
showMonth
Show or hide the name of the month.
|
BooleanProperty |
showTodayButton
Show or hide a button to quickly go to today's date.
|
BooleanProperty |
showUsageColors
Show or hide usage colors that are based on the number of entries on a
given date.
|
BooleanProperty |
showYearArrows
Shows or hides the arrows to change the year.
|
BooleanProperty |
showYear
Show or hide the year.
|
showWeekNumbersProperty, yearMonthProperty
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 |
YearMonthView.ClickBehaviour
An enumerator to control the behaviour of the control when the user
clicks on a date.
|
static class |
YearMonthView.DateCell
The base date cell implementation for month views.
|
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 |
---|
YearMonthView()
Constructs a new view.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Callback<YearMonthView,YearMonthView.DateCell>> |
cellFactoryProperty()
A factory for creating alternative content for the month view.
|
ObjectProperty<YearMonthView.ClickBehaviour> |
clickBehaviourProperty()
The behaviour used when the user clicks on a date.
|
protected Skin<?> |
createDefaultSkin() |
Callback<YearMonthView,YearMonthView.DateCell> |
getCellFactory()
Returns the value of
cellFactoryProperty() . |
YearMonthView.ClickBehaviour |
getClickBehaviour()
Returns the value of
clickBehaviourProperty() . |
ObservableList<org.controlsfx.control.PropertySheet.Item> |
getPropertySheetItems()
Returns a list of property items that can be shown by the
PropertySheet of ControlsFX. |
boolean |
isShowMonth()
Returns the value of
showMonthProperty() . |
boolean |
isShowMonthArrows()
Returns the value of the
showMonthArrowsProperty() . |
boolean |
isShowTodayButton()
Returns the value of the
showTodayButtonProperty() . |
boolean |
isShowUsageColors()
Returns the value of the
showUsageColorsProperty() . |
boolean |
isShowYear()
Returns the value of
showYearProperty() . |
boolean |
isShowYearArrows()
Returns the value of the
showYearArrowsProperty() . |
void |
setCellFactory(Callback<YearMonthView,YearMonthView.DateCell> factory)
Sets the value of
cellFactoryProperty() . |
void |
setClickBehaviour(YearMonthView.ClickBehaviour behaviour)
Sets the value of
clickBehaviourProperty() . |
void |
setShowMonth(boolean show)
Sets the value of
showMonthProperty() . |
void |
setShowMonthArrows(boolean show)
Sets the value of the
showMonthArrowsProperty() . |
void |
setShowTodayButton(boolean show)
Sets the value of the
showTodayButtonProperty() . |
void |
setShowUsageColors(boolean show)
Sets the value of
showUsageColorsProperty() . |
void |
setShowYear(boolean show)
Sets the value of
showYearProperty() . |
void |
setShowYearArrows(boolean show)
Sets the value of the
showYearArrowsProperty() . |
BooleanProperty |
showMonthArrowsProperty()
Shows or hides the arrows to change the month.
|
BooleanProperty |
showMonthProperty()
Show or hide the name of the month.
|
BooleanProperty |
showTodayButtonProperty()
Show or hide a button to quickly go to today's date.
|
BooleanProperty |
showUsageColorsProperty()
Show or hide usage colors that are based on the number of entries on a
given date.
|
BooleanProperty |
showYearArrowsProperty()
Shows or hides the arrows to change the year.
|
BooleanProperty |
showYearProperty()
Show or hide the year.
|
getSelectedDates, getYearMonth, isShowWeekNumbers, setShowWeekNumbers, showWeekNumbersProperty, yearMonthProperty
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, 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 ObjectProperty<Callback<YearMonthView,YearMonthView.DateCell>> cellFactoryProperty
YearMonthView
once with the default factory and
once with an alternative factory that creates checkboxes.
getCellFactory()
,
setCellFactory(Callback)
public final BooleanProperty showMonthProperty
isShowMonth()
,
setShowMonth(boolean)
public final BooleanProperty showYearProperty
isShowYear()
,
setShowYear(boolean)
public final BooleanProperty showTodayButtonProperty
isShowTodayButton()
,
setShowTodayButton(boolean)
public final BooleanProperty showMonthArrowsProperty
isShowMonthArrows()
,
setShowMonthArrows(boolean)
public final BooleanProperty showYearArrowsProperty
isShowYearArrows()
,
setShowYearArrows(boolean)
public final BooleanProperty showUsageColorsProperty
isShowUsageColors()
,
setShowUsageColors(boolean)
public final ObjectProperty<YearMonthView.ClickBehaviour> clickBehaviourProperty
protected Skin<?> createDefaultSkin()
createDefaultSkin
in class Control
public final ObjectProperty<Callback<YearMonthView,YearMonthView.DateCell>> cellFactoryProperty()
YearMonthView
once with the default factory and
once with an alternative factory that creates checkboxes.
getCellFactory()
,
setCellFactory(Callback)
public final void setCellFactory(Callback<YearMonthView,YearMonthView.DateCell> factory)
cellFactoryProperty()
.factory
- the cell factorypublic final Callback<YearMonthView,YearMonthView.DateCell> getCellFactory()
cellFactoryProperty()
.public final BooleanProperty showMonthProperty()
isShowMonth()
,
setShowMonth(boolean)
public final void setShowMonth(boolean show)
showMonthProperty()
.show
- if true the month will be shownpublic final boolean isShowMonth()
showMonthProperty()
.public final BooleanProperty showYearProperty()
isShowYear()
,
setShowYear(boolean)
public final void setShowYear(boolean show)
showYearProperty()
.show
- if true the year will be shownpublic final boolean isShowYear()
showYearProperty()
.public final BooleanProperty showTodayButtonProperty()
isShowTodayButton()
,
setShowTodayButton(boolean)
public final void setShowTodayButton(boolean show)
showTodayButtonProperty()
.show
- if true will show the buttonpublic final boolean isShowTodayButton()
showTodayButtonProperty()
.public final BooleanProperty showMonthArrowsProperty()
isShowMonthArrows()
,
setShowMonthArrows(boolean)
public final void setShowMonthArrows(boolean show)
showMonthArrowsProperty()
.show
- if true will show the arrowspublic final boolean isShowMonthArrows()
showMonthArrowsProperty()
.public final BooleanProperty showYearArrowsProperty()
isShowYearArrows()
,
setShowYearArrows(boolean)
public final void setShowYearArrows(boolean show)
showYearArrowsProperty()
.show
- if true will show the arrowspublic final boolean isShowYearArrows()
showYearArrowsProperty()
.public final BooleanProperty showUsageColorsProperty()
isShowUsageColors()
,
setShowUsageColors(boolean)
public final void setShowUsageColors(boolean show)
showUsageColorsProperty()
.show
- if true will show the colorspublic final boolean isShowUsageColors()
showUsageColorsProperty()
.public final ObjectProperty<YearMonthView.ClickBehaviour> clickBehaviourProperty()
public final void setClickBehaviour(YearMonthView.ClickBehaviour behaviour)
clickBehaviourProperty()
.behaviour
- the click behaviourpublic final YearMonthView.ClickBehaviour getClickBehaviour()
clickBehaviourProperty()
.public ObservableList<org.controlsfx.control.PropertySheet.Item> getPropertySheetItems()
CalendarFXControl
PropertySheet
of ControlsFX.getPropertySheetItems
in class MonthViewBase
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.