public class Agenda
extends javafx.scene.control.Control
| Type | Property and Description |
|---|---|
javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.CalendarRange,java.lang.Void>> |
calendarRangeCallback
calendarRangeCallback:
Appointments should match:
- start date >= range start
- end date <= range end
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment>> |
createAppointmentCallback
addAppointmentCallback:
Since the Agenda is not the owner of the appointments but only dictates an interface, it does not know how to create a new one.
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.Appointment,java.lang.Void>> |
editAppointmentCallback
editAppointmentCallback:
Agenda has a default popup, but maybe you want to do something yourself.
|
javafx.beans.property.ObjectProperty<java.util.Locale> |
locale
Locale: the locale is used to determine first-day-of-week, weekday labels, etc
|
contextMenuProperty, skinClassNameProperty, skinProperty, tooltipPropertybackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, heightProperty, insetsProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, opaqueInsetsProperty, paddingProperty, prefHeightProperty, prefWidthProperty, scaleShapeProperty, shapeProperty, snapToPixelProperty, widthPropertyimpl_traversalEngineProperty, needsLayoutPropertyblendModeProperty, 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 interface |
Agenda.AgendaSkin |
static interface |
Agenda.Appointment
The interface that all appointments must adhere to; you can provide your own implementation.
|
static interface |
Agenda.AppointmentGroup
The interface that appointment groups must adhere to; you can provide your own implementation.
|
static class |
Agenda.AppointmentGroupImpl
A class to help you get going; all the required methods of the interface are implemented as JavaFX properties
|
static class |
Agenda.AppointmentImpl
A class to help you get going; all the required methods of the interface are implemented as JavaFX properties
|
static class |
Agenda.CalendarRange
A Calendar range
|
| Constructor and Description |
|---|
Agenda() |
| Modifier and Type | Method and Description |
|---|---|
javafx.collections.ObservableList<Agenda.AppointmentGroup> |
appointmentGroups()
AppointmentGroups:
|
javafx.collections.ObservableList<Agenda.Appointment> |
appointments()
Appointments:
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.CalendarRange,java.lang.Void>> |
calendarRangeCallbackProperty()
calendarRangeCallback:
Appointments should match:
- start date >= range start
- end date <= range end
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment>> |
createAppointmentCallbackProperty()
addAppointmentCallback:
Since the Agenda is not the owner of the appointments but only dictates an interface, it does not know how to create a new one.
|
javafx.beans.property.ObjectProperty<java.util.Calendar> |
displayedCalendar()
DisplayedCalendar: this calendar denotes the timeframe being displayed.
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.Appointment,java.lang.Void>> |
editAppointmentCallbackProperty()
editAppointmentCallback:
Agenda has a default popup, but maybe you want to do something yourself.
|
javafx.util.Callback<Agenda.CalendarRange,java.lang.Void> |
getCalendarRangeCallback()
Gets the value of the property calendarRangeCallback.
|
javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment> |
getCreateAppointmentCallback()
Gets the value of the property createAppointmentCallback.
|
java.util.Calendar |
getDisplayedCalendar() |
javafx.util.Callback<Agenda.Appointment,java.lang.Void> |
getEditAppointmentCallback()
Gets the value of the property editAppointmentCallback.
|
java.util.Locale |
getLocale()
Gets the value of the property locale.
|
protected java.lang.String |
getUserAgentStylesheet()
Return the path to the CSS file so things are setup right
|
javafx.beans.property.ObjectProperty<java.util.Locale> |
localeProperty()
Locale: the locale is used to determine first-day-of-week, weekday labels, etc
|
static java.lang.String |
quickFormatCalendar(java.util.Calendar value) |
static java.lang.String |
quickFormatCalendar(java.util.List<java.util.Calendar> value) |
void |
refresh()
Force the agenda to completely refresh itself
|
javafx.collections.ObservableList<Agenda.Appointment> |
selectedAppointments()
selectedAppointments:
|
void |
setCalendarRangeCallback(javafx.util.Callback<Agenda.CalendarRange,java.lang.Void> value)
Sets the value of the property calendarRangeCallback.
|
void |
setCreateAppointmentCallback(javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment> value)
Sets the value of the property createAppointmentCallback.
|
void |
setDisplayedCalendar(java.util.Calendar value) |
void |
setEditAppointmentCallback(javafx.util.Callback<Agenda.Appointment,java.lang.Void> value)
Sets the value of the property editAppointmentCallback.
|
void |
setLocale(java.util.Locale value)
Sets the value of the property locale.
|
Agenda |
withCalendarRangeCallback(javafx.util.Callback<Agenda.CalendarRange,java.lang.Void> value) |
Agenda |
withCreateAppointmentCallback(javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment> value) |
Agenda |
withDisplayedCalendar(java.util.Calendar value) |
Agenda |
withEditAppointmentCallback(javafx.util.Callback<Agenda.Appointment,java.lang.Void> value) |
Agenda |
withLocale(java.util.Locale value) |
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getSkin, getTooltip, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinClassNameProperty, skinProperty, tooltipPropertybackgroundProperty, 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, widthPropertygetChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayoutaddEventFilter, addEventHandler, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, 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_geomChanged, impl_getAccessible, 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, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, 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, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, 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, visiblePropertypublic javafx.beans.property.ObjectProperty<java.util.Locale> localeProperty
getLocale(),
setLocale(Locale)public javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.CalendarRange,java.lang.Void>> calendarRangeCallbackProperty
public javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment>> createAppointmentCallbackProperty
public javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.Appointment,java.lang.Void>> editAppointmentCallbackProperty
protected java.lang.String getUserAgentStylesheet()
getUserAgentStylesheet in class javafx.scene.control.Controlpublic javafx.collections.ObservableList<Agenda.Appointment> appointments()
public javafx.collections.ObservableList<Agenda.AppointmentGroup> appointmentGroups()
public javafx.beans.property.ObjectProperty<java.util.Locale> localeProperty()
getLocale(),
setLocale(Locale)public java.util.Locale getLocale()
public void setLocale(java.util.Locale value)
public Agenda withLocale(java.util.Locale value)
public javafx.beans.property.ObjectProperty<java.util.Calendar> displayedCalendar()
public java.util.Calendar getDisplayedCalendar()
public void setDisplayedCalendar(java.util.Calendar value)
public Agenda withDisplayedCalendar(java.util.Calendar value)
public javafx.collections.ObservableList<Agenda.Appointment> selectedAppointments()
public javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.CalendarRange,java.lang.Void>> calendarRangeCallbackProperty()
public javafx.util.Callback<Agenda.CalendarRange,java.lang.Void> getCalendarRangeCallback()
public void setCalendarRangeCallback(javafx.util.Callback<Agenda.CalendarRange,java.lang.Void> value)
public Agenda withCalendarRangeCallback(javafx.util.Callback<Agenda.CalendarRange,java.lang.Void> value)
public javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment>> createAppointmentCallbackProperty()
public javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment> getCreateAppointmentCallback()
public void setCreateAppointmentCallback(javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment> value)
public Agenda withCreateAppointmentCallback(javafx.util.Callback<Agenda.CalendarRange,Agenda.Appointment> value)
public javafx.beans.property.ObjectProperty<javafx.util.Callback<Agenda.Appointment,java.lang.Void>> editAppointmentCallbackProperty()
public javafx.util.Callback<Agenda.Appointment,java.lang.Void> getEditAppointmentCallback()
public void setEditAppointmentCallback(javafx.util.Callback<Agenda.Appointment,java.lang.Void> value)
public Agenda withEditAppointmentCallback(javafx.util.Callback<Agenda.Appointment,java.lang.Void> value)
public void refresh()
public static java.lang.String quickFormatCalendar(java.util.Calendar value)
public static java.lang.String quickFormatCalendar(java.util.List<java.util.Calendar> value)