public class ICalendarAgenda
extends jfxtras.scene.control.agenda.Agenda
<p>The ICalendarAgenda
control is designed to take a VCALENDAR
object,
which is based on the iCalendar RFC 5545 standard, and renders it in Agenda
, which is a calendar
display control. ICalendarAgenda
renders only the displayable
iCalendar components which are VEVENT
, VTODO
, and VJOURNAL
.
Other calendar components are ignored.</p>
<p>The ICalendarAgenda
control has a number of features, including:
<ul>
<li>Powerful edit control
to modify calendar components:
<ul>
<li>Edits DATE or DATE-TIME properties including:
<ul>
<li>DTSTART
- when the calendar component begins.
<li>DTEND
- when the calendar component ends.
</ul>
<li>Can toggle between DATE or DATE-TIME values
<li>Edits descriptive properties including:
<ul>
<li>SUMMARY
<li>DESCRIPTION
<li>LOCATION
<li>CATEGORIES
- from a color-coded selectable grid (only one category supported)
</ul>
<li>Edits RRULE
, recurrence rule, elements including:
<ul>
<li>FREQUENCY
- type of recurrence, including Daily, Weekly, Monthly and Yearly
<li>INTERVAL
- represents the intervals the recurrence rule repeats
<li>COUNT
- the number of occurrences.
<li>UNTIL
- the DATE or DATE-TIME value that bounds the recurrence rule in an inclusive manner
<li>EXDATE
- list of DATE-TIME values that are skipped
</ul>
<li>Displays a easy-to-read description of the RRULE
, recurrence rule
</ul>
<li>Automatically synchronizes graphical changes with the VCALENDAR
object.
<li>Uses an abstract RecurrenceFactory
to create Appointment
objects that are rendered
by Agenda
<ul>
<li>A default factory is included that creates the default AppointmentImplTemporal
objects
<li>A custom factory can be added to create custom Appointment
objects.
</ul>
<li>Uses an abstract VComponentFactory
to create VDisplayable
objects when new events
are drawn by clicking and drag-and-drop actions.
<ul>
<li>A default factory is included that creates VEVENT
and VTODO
components
from the default AppointmentImplTemporal
object.
<li>A custom factory can be added to create iCalendar components from custom Appointment
objects.
</ul>
</ul>
</p>
<p>If not using the default AppointmentImplTemporal
implementation, but a different Appointment
implementation, then use the following setter methods to configure the required factories and callback:
<ul>
<li>setRecurrenceFactory(RecurrenceFactory)
<li>setVComponentFactory(VComponentFactory)
<li>Agenda.setNewAppointmentCallback(Callback)
</ul>
</p>
<h2>Creating a ICalendarAgenda</h2>
<p>Firstly, a VCALENDAR
instance needs to be defined. For example:
<pre> VCalendar vCalendar = new VCalendar();
</pre>
Optionally, the VCALENDAR
instance can be set with calendar components. This can be done
by reading a .ics file or building the calendar components programmatically through the API. Please see the
iCalendarFX documentation for more details. An empty VCALENDAR
is also acceptable.</p>
<p>Next, the VCALENDAR
instance must be provided in the ICalendarAgenda
constructor
as shown below:.
<pre> ICalendarAgenda iCalendarAgenda = new ICalendarAgenda(vCalendar);
</pre>
Nothing else special is required to instantiate ICalendarAgenda
if you use the default factories.</p>
<p> A simple example to display a ICalendarAgenda
with an example VEVENT
is below:
<pre>
public class ICalendarAgendaSimpleTrial extends Application
{
public static void main(String[] args) {
launch(args);
}</p>
<div class="literalblock">
<div class="content">
<pre>public void start(Stage primaryStage) {
VCalendar vCalendar = new VCalendar();
VEvent vEvent = new VEvent()
.withDateTimeStart(LocalDateTime.now().minusMonths(1))
.withDateTimeEnd(LocalDateTime.now().minusMonths(1).plusHours(1))
.withSummary("Example Daily Event")
.withRecurrenceRule("RRULE:FREQ=DAILY")
.withUniqueIdentifier("exampleuid000jfxtras.org");
vCalendar.addVComponent(vEvent);
ICalendarAgenda agenda = new ICalendarAgenda(vCalendar);</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre> BorderPane root = new BorderPane();
root.setCenter(agenda);
Scene scene = new Scene(root, 1366, 768);
primaryStage.setScene(scene);
primaryStage.setTitle("ICalendar Agenda Simple Demo");
primaryStage.show();
}
}
</pre>
</p>
target="_blank" href="https://tools.ietf.org/html/rfc5545#section-3.8.2.2">iCalendar 5545 Specification</a>
Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<jfxtras.icalendarfx.properties.component.relationship.Organizer> |
organizer |
actionCallbackProperty, allowDraggingProperty, allowResizeProperty, appointmentChangedCallbackProperty, calendarRangeCallbackProperty, createAppointmentCallbackProperty, editAppointmentCallbackProperty, localDateTimeRangeCallbackProperty, localeProperty, newAppointmentCallbackProperty
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
jfxtras.scene.control.agenda.Agenda.Appointment, jfxtras.scene.control.agenda.Agenda.AppointmentGroup, jfxtras.scene.control.agenda.Agenda.AppointmentGroupImpl, jfxtras.scene.control.agenda.Agenda.AppointmentImpl, jfxtras.scene.control.agenda.Agenda.AppointmentImplBase<T>, jfxtras.scene.control.agenda.Agenda.AppointmentImplLocal, jfxtras.scene.control.agenda.Agenda.AppointmentImplTemporal, jfxtras.scene.control.agenda.Agenda.CalendarRange, jfxtras.scene.control.agenda.Agenda.LocalDateTimeRange
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ORGANIZER |
static java.lang.String |
DEFAULT_PRODUCT_IDENTIFIER |
static java.lang.String |
ICALENDAR_STYLE_SHEET |
static java.lang.String |
MY_VERSION |
Constructor and Description |
---|
ICalendarAgenda(jfxtras.icalendarfx.VCalendar vCalendar) |
Modifier and Type | Method and Description |
---|---|
javafx.collections.ObservableList<java.lang.String> |
getCategories()
Gets the value of the categories list
|
javafx.util.Callback<jfxtras.scene.control.agenda.Agenda.Appointment,javafx.scene.control.ButtonBar.ButtonData> |
getNewAppointmentDrawnCallback()
Sets the value of the new appointment callback.
|
jfxtras.icalendarfx.properties.component.relationship.Organizer |
getOrganizer() |
RecurrenceFactory<jfxtras.scene.control.agenda.Agenda.Appointment> |
getRecurrenceFactory()
Gets the value of the VComponent factory
|
javafx.util.Callback<jfxtras.scene.control.agenda.Agenda.Appointment,java.lang.Void> |
getSelectedOneAppointmentCallback()
Gets the value of the select one appointment callback.
|
jfxtras.icalendarfx.VCalendar |
getVCalendar()
get the VCalendar object that is a model of the iCalendar RFC 5545 specification
|
VComponentFactory<jfxtras.scene.control.agenda.Agenda.Appointment> |
getVComponentFactory()
Gets the value of the
VComponent factory |
javafx.beans.property.ObjectProperty<jfxtras.icalendarfx.properties.component.relationship.Organizer> |
organizerProperty() |
void |
setCategories(javafx.collections.ObservableList<java.lang.String> categories)
Sets the value of the categories list
|
void |
setNewAppointmentDrawnCallback(javafx.util.Callback<jfxtras.scene.control.agenda.Agenda.Appointment,javafx.scene.control.ButtonBar.ButtonData> c)
Gets the value of the new appointment callback.
|
void |
setOrganizer(jfxtras.icalendarfx.properties.component.relationship.Organizer organizer) |
void |
setOrganizer(java.lang.String organizer) |
void |
setRecurrenceFactory(RecurrenceFactory<jfxtras.scene.control.agenda.Agenda.Appointment> recurrenceFactory)
Sets the value of the recurrence factory
|
void |
setSelectedOneAppointmentCallback(javafx.util.Callback<jfxtras.scene.control.agenda.Agenda.Appointment,java.lang.Void> c)
Sets the value of the select one appointment callback.
|
void |
setVComponentFactory(VComponentFactory<jfxtras.scene.control.agenda.Agenda.Appointment> vComponentFactory)
Sets the value of the
VComponent factory |
ICalendarAgenda |
withOrganizer(jfxtras.icalendarfx.properties.component.relationship.Organizer organizer) |
ICalendarAgenda |
withOrganizer(java.lang.String organizer) |
actionCallbackProperty, allowDraggingProperty, allowResizeProperty, appointmentChangedCallbackProperty, appointmentGroups, appointments, calendarRangeCallbackProperty, createAppointmentCallbackProperty, createDefaultSkin, displayedCalendar, displayedLocalDateTime, editAppointmentCallbackProperty, getActionCallback, getAllowDragging, getAllowResize, getAppointmentChangedCallback, getCalendarRangeCallback, getCreateAppointmentCallback, getDisplayedCalendar, getDisplayedLocalDateTime, getEditAppointmentCallback, getLocalDateTimeRangeCallback, getLocale, getNewAppointmentCallback, getUserAgentStylesheet, localDateTimeRangeCallbackProperty, localeProperty, newAppointmentCallbackProperty, print, refresh, selectedAppointments, setActionCallback, setAllowDragging, setAllowResize, setAppointmentChangedCallback, setCalendarRangeCallback, setCreateAppointmentCallback, setDisplayedCalendar, setDisplayedLocalDateTime, setEditAppointmentCallback, setLocalDateTimeRangeCallback, setLocale, setNewAppointmentCallback, withActionCallback, withAllowDragging, withAllowResize, withAppointmentChangedCallback, withCalendarRangeCallback, withCreateAppointmentCallback, withDisplayedCalendar, withDisplayedLocalDateTime, withEditAppointmentCallback, withId, withLocalDateTimeRangeCallback, withLocale, withNewAppointmentCallback
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 javafx.beans.property.ObjectProperty<jfxtras.icalendarfx.properties.component.relationship.Organizer> organizerProperty
getOrganizer()
,
setOrganizer(Organizer)
public static final java.lang.String ICALENDAR_STYLE_SHEET
public static final java.lang.String MY_VERSION
public static final java.lang.String DEFAULT_PRODUCT_IDENTIFIER
public static final java.lang.String DEFAULT_ORGANIZER
public javafx.beans.property.ObjectProperty<jfxtras.icalendarfx.properties.component.relationship.Organizer> organizerProperty()
getOrganizer()
,
setOrganizer(Organizer)
public jfxtras.icalendarfx.properties.component.relationship.Organizer getOrganizer()
public void setOrganizer(jfxtras.icalendarfx.properties.component.relationship.Organizer organizer)
public void setOrganizer(java.lang.String organizer)
public ICalendarAgenda withOrganizer(jfxtras.icalendarfx.properties.component.relationship.Organizer organizer)
public ICalendarAgenda withOrganizer(java.lang.String organizer)
public jfxtras.icalendarfx.VCalendar getVCalendar()
get the VCalendar object that is a model of the iCalendar RFC 5545 specification
public VComponentFactory<jfxtras.scene.control.agenda.Agenda.Appointment> getVComponentFactory()
Gets the value of the VComponent
factory
public void setVComponentFactory(VComponentFactory<jfxtras.scene.control.agenda.Agenda.Appointment> vComponentFactory)
Sets the value of the VComponent
factory
public RecurrenceFactory<jfxtras.scene.control.agenda.Agenda.Appointment> getRecurrenceFactory()
Gets the value of the VComponent factory
public void setRecurrenceFactory(RecurrenceFactory<jfxtras.scene.control.agenda.Agenda.Appointment> recurrenceFactory)
Sets the value of the recurrence factory
public javafx.collections.ObservableList<java.lang.String> getCategories()
Gets the value of the categories list
public void setCategories(javafx.collections.ObservableList<java.lang.String> categories)
Sets the value of the categories list
public void setSelectedOneAppointmentCallback(javafx.util.Callback<jfxtras.scene.control.agenda.Agenda.Appointment,java.lang.Void> c)
Sets the value of the select one appointment callback. The callback is executed only one appointment is selected in Agenda. This is done by primary clicking on one appointment. Pressing and holding Ctrl and clicking other appointments does not trigger this callback.
public javafx.util.Callback<jfxtras.scene.control.agenda.Agenda.Appointment,java.lang.Void> getSelectedOneAppointmentCallback()
Gets the value of the select one appointment callback. The callback is executed only one appointment is selected in Agenda. This is done by primary clicking on one appointment. Pressing and holding Ctrl and clicking other appointments does not trigger this callback.
public javafx.util.Callback<jfxtras.scene.control.agenda.Agenda.Appointment,javafx.scene.control.ButtonBar.ButtonData> getNewAppointmentDrawnCallback()
Sets the value of the new appointment callback. The callback is executed after a new appointment is added in Agenda. This is done by clicking on the start time, dragging, and releasing on the end time.
public void setNewAppointmentDrawnCallback(javafx.util.Callback<jfxtras.scene.control.agenda.Agenda.Appointment,javafx.scene.control.ButtonBar.ButtonData> c)
Gets the value of the new appointment callback. The callback is executed after a new appointment is added in Agenda. This is done by clicking on the start time, dragging, and releasing on the end time.