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, heightProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, prefHeightProperty, prefWidthProperty, skinClassNameProperty, skinProperty, tooltipProperty, widthProperty
impl_traversalEngineProperty, needsLayoutProperty
blendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, 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, getBaselineOffset, getContextMenu, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getSkin, getTooltip, getWidth, heightProperty, impl_computeContains, impl_computeLayoutBounds, impl_CSS_STYLEABLES, impl_cssGetFocusTraversableInitialValue, impl_getStyleableProperties, impl_notifyLayoutBoundsChanged, impl_processCSS, intersects, isResizable, layoutChildren, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, setContextMenu, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPrefHeight, setPrefSize, setPrefWidth, setSkin, setSkinClassName, setTooltip, setWidth, skinClassNameProperty, skinProperty, tooltipProperty, widthProperty
getChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_computeGeomBounds, impl_createPGNode, impl_cssResetInitialValues, impl_geomChanged, impl_getAllParentStylesheets, impl_pickNodeLocal, impl_pickNodeLocal, impl_processMXNode, impl_traversalEngineProperty, impl_updatePG, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, setImpl_traversalEngine, setNeedsLayout
addEventFilter, addEventHandler, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, 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, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_createStyleHelper, impl_cssGetCursorInitialValue, impl_getLeafTransform, impl_getPGNode, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getPseudoClassState, impl_getStyleable, impl_getStyleHelper, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_pickNode, impl_pseudoClassStateChanged, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPGNode, impl_transformsChanged, impl_traverse, inputMethodRequestsProperty, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToSceneTransformProperty, lookupAll, managedProperty, mouseTransparentProperty, 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, pickOnBoundsProperty, pressedProperty, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, 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, visibleProperty
protected java.lang.String getUserAgentStylesheet()
getUserAgentStylesheet
in class javafx.scene.control.Control
public javafx.collections.ObservableList<Agenda.Appointment> appointments()
public javafx.collections.ObservableList<Agenda.AppointmentGroup> appointmentGroups()
public javafx.beans.property.ObjectProperty<java.util.Locale> localeProperty()
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)