public class CalendarView extends DateControl
getPrintView()
).
Type | Property and Description |
---|---|
ObjectProperty<Node> |
footer
Property used to reference a node that can be used as a footer for the
calendar view.
|
ObjectProperty<Node> |
header
Property used to reference a node that can be used as a header for the
calendar view.
|
ReadOnlyObjectProperty<PageBase> |
selectedPage
A read-only property used for storing the currently selected page.
|
BooleanProperty |
showAddCalendarButton
Controls whether the "add calendar" button in the upper left corner of
the control will be shown to the user or not.
|
BooleanProperty |
showDeveloperConsole
Controls the visibility of the developer console.
|
BooleanProperty |
showPageSwitcher
Controls whether the page switcher (day, week, month, year) will be shown
to the user or not.
|
BooleanProperty |
showPageToolBarControls
Controls whether the "page-specific" toolbar controls (e.g.
|
BooleanProperty |
showPrintButton
Controls whether the "print" button in the upper left corner of the
control will be shown to the user or not.
|
BooleanProperty |
showSearchField
Controls whether the search field (text field) in the upper right corner
of the control will be shown to the user or not.
|
BooleanProperty |
showSearchResultsTray
Controls the visibility of the search results tray.
|
BooleanProperty |
showSourceTrayButton
Controls whether the source tray button in the upper left corner of the
control will be shown to the user or not.
|
BooleanProperty |
showSourceTray
Controls the visibility of the source tray.
|
BooleanProperty |
showToolBar
Controls whether the toolbar will be shown to the user or not.
|
BooleanProperty |
transitionsEnabled
A property used to control whether switching from one page to another
will be done with a graphics transition.
|
BooleanProperty |
traysAnimated
A property used to control whether closing or opening the trays (source view,
search result view) will be animated.
|
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
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 |
---|
CalendarView()
Constructs a new calendar view.
|
Modifier and Type | Method and Description |
---|---|
protected Skin<?> |
createDefaultSkin() |
ObjectProperty<Node> |
footerProperty()
Property used to reference a node that can be used as a footer for the
calendar view.
|
DayPage |
getDayPage()
Returns the day page.
|
DeveloperConsole |
getDeveloperConsole()
Returns the developer console that can be made visible via a META-D key
stroke when the system property "calendarfx.developer" is set to true.
|
Node |
getFooter()
Returns the value of
footerProperty() . |
Node |
getHeader()
Returns the value of
headerProperty() . |
MonthPage |
getMonthPage()
Returns the month page.
|
PrintView |
getPrintView()
Returns the print view associated with this view.
|
ObservableList<org.controlsfx.control.PropertySheet.Item> |
getPropertySheetItems()
Returns a list of property items that can be shown by the
PropertySheet of ControlsFX. |
org.controlsfx.control.textfield.CustomTextField |
getSearchField()
Returns the search text field.
|
SearchResultView |
getSearchResultView()
Returns the search result view child control.
|
PageBase |
getSelectedPage()
The value of
selectedPageProperty() . |
SourceView |
getSourceView()
Returns the source view child control.
|
WeekPage |
getWeekPage()
Returns the week page.
|
YearMonthView |
getYearMonthView()
Returns the year month view child control.
|
YearPage |
getYearPage()
Returns the year page.
|
ObjectProperty<Node> |
headerProperty()
Property used to reference a node that can be used as a header for the
calendar view.
|
boolean |
isShowAddCalendarButton()
Returns the value of
showAddCalendarButtonProperty() . |
boolean |
isShowDeveloperConsole()
Returns the value of
showSourceTrayProperty() . |
boolean |
isShowPageSwitcher()
Returns the value of
showPageSwitcherProperty() . |
boolean |
isShowPageToolBarControls()
Returns the value of
showPageToolBarControlsProperty() . |
boolean |
isShowPrintButton()
Returns the value of
showPrintButtonProperty() . |
boolean |
isShowSearchField()
Returns the value of
showSearchFieldProperty() . |
boolean |
isShowSearchResultsTray()
Returns the value of
showSearchResultsTrayProperty() . |
boolean |
isShowSourceTray()
Returns the value of
showSourceTrayProperty() . |
boolean |
isShowSourceTrayButton()
Returns the value of
showSourceTrayButtonProperty() . |
boolean |
isShowToolBar()
Returns the value of
showToolBarProperty() . |
boolean |
isTransitionsEnabled()
Returns the value of
transitionsEnabledProperty() . |
boolean |
isTraysAnimated()
Returns the value of
traysAnimatedProperty() . |
ReadOnlyObjectProperty<PageBase> |
selectedPageProperty()
A read-only property used for storing the currently selected page.
|
void |
setFooter(Node node)
Sets the value of
footerProperty() . |
void |
setHeader(Node node)
Sets the value of
headerProperty() . |
void |
setShowAddCalendarButton(boolean show)
Sets the value of
showAddCalendarButtonProperty() . |
void |
setShowDeveloperConsole(boolean show)
Sets the value of
showDeveloperConsoleProperty() . |
void |
setShowPageSwitcher(boolean show)
Sets the value of
showPageSwitcherProperty() . |
void |
setShowPageToolBarControls(boolean show)
Sets the value of
showPageToolBarControlsProperty() . |
void |
setShowPrintButton(boolean show)
Sets the value of
showPrintButtonProperty() . |
void |
setShowSearchField(boolean show)
Sets the value of
showSearchFieldProperty() . |
void |
setShowSearchResultsTray(boolean show)
Sets the value of
showSearchResultsTrayProperty() . |
void |
setShowSourceTray(boolean show)
Sets the value of
showSourceTrayProperty() . |
void |
setShowSourceTrayButton(boolean show)
Sets the value of
showSourceTrayButtonProperty() . |
void |
setShowToolBar(boolean show)
Sets the value of
showToolBarProperty() . |
void |
setTransitionsEnabled(boolean transitions)
Sets the value of
transitionsEnabledProperty() . |
void |
setTraysAnimated(boolean animated)
Sets the value of
traysAnimatedProperty() . |
BooleanProperty |
showAddCalendarButtonProperty()
Controls whether the "add calendar" button in the upper left corner of
the control will be shown to the user or not.
|
void |
showDate(LocalDate date)
Sends the request to the calendar view to display the given date.
|
void |
showDateTime(LocalDateTime dateTime)
Sends the request to the calendar view to display the given date and
time.
|
void |
showDayPage()
Switches the view to the
DayPage . |
BooleanProperty |
showDeveloperConsoleProperty()
Controls the visibility of the developer console.
|
void |
showMonthPage()
Switches the view to the
MonthPage . |
BooleanProperty |
showPageSwitcherProperty()
Controls whether the page switcher (day, week, month, year) will be shown
to the user or not.
|
BooleanProperty |
showPageToolBarControlsProperty()
Controls whether the "page-specific" toolbar controls (e.g.
|
BooleanProperty |
showPrintButtonProperty()
Controls whether the "print" button in the upper left corner of the
control will be shown to the user or not.
|
BooleanProperty |
showSearchFieldProperty()
Controls whether the search field (text field) in the upper right corner
of the control will be shown to the user or not.
|
BooleanProperty |
showSearchResultsTrayProperty()
Controls the visibility of the search results tray.
|
BooleanProperty |
showSourceTrayButtonProperty()
Controls whether the source tray button in the upper left corner of the
control will be shown to the user or not.
|
BooleanProperty |
showSourceTrayProperty()
Controls the visibility of the source tray.
|
BooleanProperty |
showToolBarProperty()
Controls whether the toolbar will be shown to the user or not.
|
void |
showWeek(Year year,
int weekOfYear)
Sends the request to the calendar view to display the given week.
|
void |
showWeekPage()
Switches the view to the
WeekPage . |
void |
showYear(Year year)
Sends the request to the calendar view to display the given year.
|
void |
showYearMonth(YearMonth yearMonth)
Sends the request to the calendar view to display the given year and
month.
|
void |
showYearPage()
Switches the view to the
YearPage . |
BooleanProperty |
transitionsEnabledProperty()
A property used to control whether switching from one page to another
will be done with a graphics transition.
|
BooleanProperty |
traysAnimatedProperty()
A property used to control whether closing or opening the trays (source view,
search result view) will be animated.
|
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 BooleanProperty showDeveloperConsoleProperty
public final BooleanProperty showSourceTrayProperty
isShowSourceTray()
,
setShowSourceTray(boolean)
public final BooleanProperty showSearchResultsTrayProperty
public final ReadOnlyObjectProperty<PageBase> selectedPageProperty
getSelectedPage()
public final ObjectProperty<Node> headerProperty
BorderPane
to lay out
its children. The header will be placed in its top location.getHeader()
,
setHeader(Node)
public final ObjectProperty<Node> footerProperty
BorderPane
to lay out
its children. The footer will be placed in its bottom location.getFooter()
,
setFooter(Node)
public final BooleanProperty transitionsEnabledProperty
public final BooleanProperty traysAnimatedProperty
isTraysAnimated()
,
setTraysAnimated(boolean)
public final BooleanProperty showSearchFieldProperty
isShowSearchField()
,
setShowSearchField(boolean)
public final BooleanProperty showSourceTrayButtonProperty
public final BooleanProperty showAddCalendarButtonProperty
public final BooleanProperty showPrintButtonProperty
isShowPrintButton()
,
setShowPrintButton(boolean)
public final BooleanProperty showPageToolBarControlsProperty
public final BooleanProperty showPageSwitcherProperty
isShowPageSwitcher()
,
setShowPageSwitcher(boolean)
public final BooleanProperty showToolBarProperty
isShowToolBar()
,
setShowToolBar(boolean)
protected Skin<?> createDefaultSkin()
createDefaultSkin
in class Control
public final DeveloperConsole getDeveloperConsole()
public final DayPage getDayPage()
public final WeekPage getWeekPage()
public final MonthPage getMonthPage()
public final YearPage getYearPage()
public final org.controlsfx.control.textfield.CustomTextField getSearchField()
public final SearchResultView getSearchResultView()
public final SourceView getSourceView()
public final YearMonthView getYearMonthView()
public final PrintView getPrintView()
public final BooleanProperty showDeveloperConsoleProperty()
public final void setShowDeveloperConsole(boolean show)
showDeveloperConsoleProperty()
.show
- if true will show the developer consolepublic final boolean isShowDeveloperConsole()
showSourceTrayProperty()
.public final BooleanProperty showSourceTrayProperty()
isShowSourceTray()
,
setShowSourceTray(boolean)
public final void setShowSourceTray(boolean show)
showSourceTrayProperty()
.show
- if true will show the traypublic final boolean isShowSourceTray()
showSourceTrayProperty()
.public final BooleanProperty showSearchResultsTrayProperty()
public final void setShowSearchResultsTray(boolean show)
showSearchResultsTrayProperty()
.show
- if true the search result tray will be shown to the userpublic final boolean isShowSearchResultsTray()
showSearchResultsTrayProperty()
.public final ReadOnlyObjectProperty<PageBase> selectedPageProperty()
getSelectedPage()
public final PageBase getSelectedPage()
selectedPageProperty()
.public final ObjectProperty<Node> headerProperty()
BorderPane
to lay out
its children. The header will be placed in its top location.getHeader()
,
setHeader(Node)
public final Node getHeader()
headerProperty()
.public final void setHeader(Node node)
headerProperty()
.node
- a node that will be shown above the actual calendarpublic final ObjectProperty<Node> footerProperty()
BorderPane
to lay out
its children. The footer will be placed in its bottom location.getFooter()
,
setFooter(Node)
public final Node getFooter()
footerProperty()
.public final void setFooter(Node node)
footerProperty()
.node
- a node that will be shown below the actual calendarpublic final BooleanProperty transitionsEnabledProperty()
public final boolean isTransitionsEnabled()
transitionsEnabledProperty()
.public final void setTransitionsEnabled(boolean transitions)
transitionsEnabledProperty()
.transitions
- if true transitions will be used to go from one page to
anotherpublic final BooleanProperty traysAnimatedProperty()
isTraysAnimated()
,
setTraysAnimated(boolean)
public final boolean isTraysAnimated()
traysAnimatedProperty()
.public final void setTraysAnimated(boolean animated)
traysAnimatedProperty()
.animated
- if true tray animations will be used when opening / closing
the source tray or the search result traypublic final BooleanProperty showSearchFieldProperty()
isShowSearchField()
,
setShowSearchField(boolean)
public final boolean isShowSearchField()
showSearchFieldProperty()
.public final void setShowSearchField(boolean show)
showSearchFieldProperty()
.show
- if true the search field will be accessible by the userpublic final BooleanProperty showSourceTrayButtonProperty()
public final boolean isShowSourceTrayButton()
showSourceTrayButtonProperty()
.public final void setShowSourceTrayButton(boolean show)
showSourceTrayButtonProperty()
.show
- if true the source tray button will be accessible by the userpublic final BooleanProperty showAddCalendarButtonProperty()
public final boolean isShowAddCalendarButton()
showAddCalendarButtonProperty()
.public final void setShowAddCalendarButton(boolean show)
showAddCalendarButtonProperty()
.show
- if true the "add calendar" button will be accessible by the
userpublic final BooleanProperty showPrintButtonProperty()
isShowPrintButton()
,
setShowPrintButton(boolean)
public final boolean isShowPrintButton()
showPrintButtonProperty()
.public final void setShowPrintButton(boolean show)
showPrintButtonProperty()
.show
- if true the "print" button will be accessible by the userpublic final BooleanProperty showPageToolBarControlsProperty()
public final boolean isShowPageToolBarControls()
showPageToolBarControlsProperty()
.PageBase.getToolBarControls()
public final void setShowPageToolBarControls(boolean show)
showPageToolBarControlsProperty()
.show
- if true the "page-specific" toolbar controls will be
accessible by the userPageBase.getToolBarControls()
public final BooleanProperty showPageSwitcherProperty()
isShowPageSwitcher()
,
setShowPageSwitcher(boolean)
public final boolean isShowPageSwitcher()
showPageSwitcherProperty()
.public final void setShowPageSwitcher(boolean show)
showPageSwitcherProperty()
.show
- true if the page switcher will be visiblepublic final BooleanProperty showToolBarProperty()
isShowToolBar()
,
setShowToolBar(boolean)
public final boolean isShowToolBar()
showToolBarProperty()
.public final void setShowToolBar(boolean show)
showToolBarProperty()
.show
- true if the toolbar will be visiblepublic final void showDayPage()
DayPage
.public final void showWeekPage()
WeekPage
.public final void showMonthPage()
MonthPage
.public final void showYearPage()
YearPage
.public final void showDate(LocalDate date)
DayPage
and set the value of
DateControl.dateProperty()
to the date.date
- the date to show in the viewpublic final void showWeek(Year year, int weekOfYear)
WeekPage
and set the value of
DateControl.dateProperty()
to the date.year
- the date to show in the viewweekOfYear
- the week to show in the viewpublic final void showDateTime(LocalDateTime dateTime)
DayPage
and set the value of
DateControl.dateProperty()
to the date and DateControl.requestedTimeProperty()
to the time.dateTime
- the date and time to show in the viewpublic final void showYearMonth(YearMonth yearMonth)
MonthPage
and set the value of
DateControl.dateProperty()
to the first day of the month.yearMonth
- the year and month to show in the viewpublic final void showYear(Year year)
YearPage
and set the value of
DateControl.dateProperty()
to the first day of the year.year
- the year to show in the viewpublic ObservableList<org.controlsfx.control.PropertySheet.Item> getPropertySheetItems()
CalendarFXControl
PropertySheet
of ControlsFX.getPropertySheetItems
in class DateControl
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.