Package | Description |
---|---|
com.calendarfx.model |
Classes for modeling calendars and entries.
|
com.calendarfx.view |
Custom controls for visualizing calendars for a day, a week, a month, or a year.
|
com.calendarfx.view.popover |
A getting started set of views for creating popovers for calendar entries.
|
Modifier and Type | Method and Description |
---|---|
Entry<T> |
Entry.createRecurrence()
If the entry defines a recurrence rule (see
recurrenceRuleProperty() ) then the calendar will use this method
to create one or more "copies" of the entry. |
Entry<?> |
CalendarEvent.getEntry()
Returns the entry for which the event was fired.
|
Entry<T> |
Entry.getRecurrenceSourceEntry()
Returns the value of
recurrenceSourceProperty() . |
Modifier and Type | Method and Description |
---|---|
Map<LocalDate,List<Entry<?>>> |
Calendar.findEntries(LocalDate startDate,
LocalDate endDate,
ZoneId zoneId)
Queries the calendar for all entries within the time interval defined by
the start date and end date.
|
List<Entry<?>> |
Calendar.findEntries(String searchText)
Queries the calendar for entries that match the given search text.
|
ReadOnlyObjectProperty<Entry<T>> |
Entry.recurrenceSourceProperty()
If the entry is a recurrence (see
recurrenceProperty() ) then
this property will store a reference to the entry for which the
recurrence was created. |
Modifier and Type | Method and Description |
---|---|
void |
Calendar.addEntries(Entry<?>... entries)
Adds the given entries to the calendar.
|
void |
Calendar.addEntry(Entry<?> entry)
Adds the given entry to the calendar.
|
int |
Entry.compareTo(Entry<?> other) |
boolean |
Entry.intersects(Entry<?> entry)
Utility method to determine if this entry and the given entry intersect
each other (time bounds overlap each other).
|
void |
Calendar.removeEntries(Entry<?>... entries)
Removes the given entries from the calendar.
|
void |
Calendar.removeEntry(Entry<?> entry)
Removes the given entry from the calendar.
|
Modifier and Type | Method and Description |
---|---|
void |
Calendar.addEntries(Collection<Entry<?>> entries)
Adds the given entries to the calendar.
|
void |
Calendar.addEntries(Iterable<Entry<?>> entries)
Adds the entries returned by the iterable to the calendar.
|
void |
Calendar.addEntries(Iterator<Entry<?>> entries)
Adds the entries returned by the iterator to the calendar.
|
void |
Calendar.removeEntries(Collection<Entry<?>> entries)
Removes the given entries from the calendar.
|
void |
Calendar.removeEntries(Iterable<Entry<?>> entries)
Adds the entries returned by the iterable to the calendar.
|
void |
Calendar.removeEntries(Iterator<Entry<?>> entries)
Removes the entries returned by the iterator from the calendar.
|
Constructor and Description |
---|
CalendarEvent(EventType<? extends CalendarEvent> eventType,
Calendar calendar,
Entry<?> entry)
Constructs a new event.
|
CalendarEvent(EventType<CalendarEvent> eventType,
Calendar calendar,
Entry<?> entry,
boolean oldFullDay)
Constructs a new event used for signaling that an entry was set to full
day.
|
CalendarEvent(EventType<CalendarEvent> eventType,
Calendar calendar,
Entry<?> entry,
Calendar oldCalendar)
Constructs a new event used for signalling that an entry was assigned to
a new calendar.
|
CalendarEvent(EventType<CalendarEvent> eventType,
Calendar calendar,
Entry<?> entry,
Interval oldInterval)
Constructs a new event used for signalling that an entry was assigned a
new start end date / time.
|
CalendarEvent(EventType<CalendarEvent> eventType,
Calendar calendar,
Entry<?> entry,
Object oldUserObject)
Constructs a new event used for signalling that an entry has been
assigned a new user object.
|
CalendarEvent(EventType<CalendarEvent> eventType,
Calendar calendar,
Entry<?> entry,
String oldText)
Constructs a new event used for signalling that an entry was assigned a
new text (normally the title).
|
Modifier and Type | Class and Description |
---|---|
class |
DraggedEntry
Dragged entry is used internally only to represent the calendar entry that is
currently being dragged.
|
Modifier and Type | Method and Description |
---|---|
Entry<?> |
DateControl.createEntryAt(ZonedDateTime time)
Creates a new entry at the given time.
|
Entry<?> |
DateControl.createEntryAt(ZonedDateTime time,
Calendar calendar)
Creates a new entry at the given time.
|
Entry<?> |
RequestEvent.getEntry()
Returns the requested entry.
|
Entry<?> |
EntryViewBase.getEntry()
Returns the calendar entry for which the view was created.
|
Entry<?> |
DateControl.EntryContextMenuParameter.getEntry()
Convenience method to easily lookup the entry for which the view was
created.
|
Entry<?> |
DateControl.EntryDetailsParameter.getEntry()
The entry for which details are requested.
|
Entry<?> |
DateControl.EntryDetailsPopOverContentParameter.getEntry()
The entry for which the popover was requested.
|
Entry<?> |
DraggedEntry.getOriginalEntry()
Returns the original entry that the user wants to edit.
|
Entry<?> |
SearchResultView.getSelectedEntry()
Returns the value of
SearchResultView.selectedEntryProperty() . |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Callback<DateControl.CreateEntryParameter,Entry<?>>> |
DateControl.entryFactoryProperty()
A factory for creating new entries when the user double clicks inside the
date control or when the application calls
DateControl.createEntryAt(ZonedDateTime) . |
ObjectProperty<Callback<Entry<?>,MonthEntryView>> |
MonthView.entryViewFactoryProperty()
A factory used for creating instances of type
MonthEntryView . |
ObjectProperty<Callback<Entry<?>,DayEntryView>> |
DayView.entryViewFactoryProperty()
A factory used for creating instances of
DayEntryView for each
calendar entry that needs to be shown in this day view. |
ObjectProperty<Callback<Entry<?>,AllDayEntryView>> |
AllDayView.entryViewFactoryProperty()
A callback used for producing views for entries.
|
List<Entry<?>> |
AgendaView.AgendaEntry.getEntries() |
Callback<DateControl.CreateEntryParameter,Entry<?>> |
DateControl.getEntryFactory()
Returns the value of
DateControl.entryFactoryProperty() . |
Callback<Entry<?>,MonthEntryView> |
MonthView.getEntryViewFactory()
Returns the value of
MonthView.entryViewFactoryProperty() . |
Callback<Entry<?>,DayEntryView> |
DayView.getEntryViewFactory()
Returns the value of
DayView.entryViewFactoryProperty() . |
Callback<Entry<?>,AllDayEntryView> |
AllDayView.getEntryViewFactory()
Returns the value of
AllDayView.entryViewFactoryProperty() . |
ObservableList<Entry<?>> |
SearchResultView.getSearchResults()
The list containing the search results.
|
ObservableSet<Entry<?>> |
DateControl.getSelections()
Stores the currently selected entries.
|
ReadOnlyObjectProperty<Entry<?>> |
SearchResultView.selectedEntryProperty()
Stores the currently selected entry / search result.
|
Modifier and Type | Method and Description |
---|---|
protected Node |
AgendaView.AgendaEntryCell.createEntryGraphic(Entry<?> entry)
Creates a node used to display an icon for the entry.
|
protected Label |
AgendaView.AgendaEntryCell.createEntryTimeLabel(Entry<?> entry)
Creates the label used to display the time of the entry.
|
protected Label |
AgendaView.AgendaEntryCell.createEntryTitleLabel(Entry<?> entry)
Creates the label used to display the title of the entry.
|
void |
DateControl.deselect(Entry<?> entry)
Removes the given entry from the set of currently selected entries.
|
void |
DateControl.editEntry(Entry<?> entry)
Adjusts the current view / page in such a way that the given entry
becomes visible and brings up the details editor / UI for the entry
(default is a popover).
|
EntryViewBase<?> |
DateControl.findEntryView(Entry<?> entry)
Finds the first view that represents the given entry.
|
protected String |
AgendaView.AgendaEntryCell.getTimeText(Entry<?> entry)
Creates a nicely formatted text that contains the start and end time of
the given entry.
|
void |
DateControl.select(Entry<?> entry)
Adds the given entry to the set of currently selected entries.
|
void |
DateControl.showEntry(Entry<?> entry)
Adjusts the current view / page in such a way that the given entry
becomes visible.
|
Modifier and Type | Method and Description |
---|---|
void |
DateControl.setEntryFactory(Callback<DateControl.CreateEntryParameter,Entry<?>> factory)
Sets the value of
DateControl.entryFactoryProperty() . |
void |
AllDayView.setEntryViewFactory(Callback<Entry<?>,AllDayEntryView> factory)
Sets the value of
AllDayView.entryViewFactoryProperty() . |
void |
DayView.setEntryViewFactory(Callback<Entry<?>,DayEntryView> factory)
Sets the value of
DayView.entryViewFactoryProperty() . |
void |
MonthView.setEntryViewFactory(Callback<Entry<?>,MonthEntryView> factory)
Sets the value of
MonthView.entryViewFactoryProperty() . |
void |
MonthSheetView.DateCell.updateEntries(List<Entry<?>> entries)
This method gets invoked whenever the
MonthSheetView determines
that the content of the cell might need to be refreshed. |
void |
MonthSheetView.DetailedDateCell.updateEntries(List<Entry<?>> entries) |
void |
MonthSheetView.BadgeDateCell.updateEntries(List<Entry<?>> entries) |
void |
MonthSheetView.UsageDateCell.updateEntries(List<Entry<?>> entries) |
Constructor and Description |
---|
AllDayEntryView(Entry<?> entry)
Constructs a new entry.
|
DayEntryView(Entry<?> entry)
Constructs a new entry view for the given calendar entry.
|
DraggedEntry(Entry<?> entry,
DraggedEntry.DragMode dragMode)
Constructs a new dragged entry
|
EntryDetailsParameter(InputEvent inputEvent,
DateControl control,
Entry<?> entry,
Node owner,
double screenX,
double screenY)
Constructs a new parameter object.
|
EntryDetailsPopOverContentParameter(org.controlsfx.control.PopOver popOver,
DateControl control,
Node node,
Entry<?> entry)
Constructs a new parameter object.
|
EntryViewBase(Entry<?> entry)
Constructs a new view for the given entry.
|
MonthEntryView(Entry<?> entry)
Constructs a new entry view.
|
RequestEvent(Object source,
EventTarget target,
Entry<?> entry)
Constructs a new request event.
|
Modifier and Type | Method and Description |
---|---|
Entry<?> |
EntryPopOverContentPane.getEntry() |
Constructor and Description |
---|
EntryDetailsView(Entry<?> entry) |
EntryHeaderView(Entry<?> entry,
List<Calendar> calendars) |
EntryPopOverContentPane(org.controlsfx.control.PopOver popOver,
DateControl dateControl,
Entry<?> entry) |
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.