com.calendarfx.view.DayEntryView inside a com.calendarfx.view.DayView .
This class supports the industry standard for defining recurring events (RFC
2445). For recurring events the method setRecurrenceRule(String)
must be fed with a valid RRULE string, for example "RRULE:FREQ=DAILY" for an
event that occures every day. The calendar to which the entry belongs is then
responsible for creating the recurring entries when its
Calendar#findEntries(LocalDate, LocalDate, ZoneId) method gets
invoked. Recurring entries will return "true" when their
isRecurrence() method is called and they will also be able to return
the "source" entry (getRecurrenceSourceEntry()).
Entry entry = new Entry("Dentist Appointment");
Interval interval = new Interval(...);
entry.setInterval(interval);
entry.setRecurrenceRule("RRULE:FREQ=DAILY;INTERVAL=2;");
Calendar calendar = new Calendar("Health");
calendar.addEntry(entry);
| Modifier and Type | Field and Description |
|---|---|
| private Duration | |
| private boolean | |
| private boolean | |
| private LocalDate | |
| private String | |
| private final SimpleObjectProperty | |
| private static final Duration | |
| private ReadOnlyObjectWrapper | |
| private ReadOnlyObjectWrapper | |
| private static final String | |
| private final BooleanProperty | |
| private String | |
| private final ObjectProperty | |
| private StringProperty | |
| private ObjectProperty | |
| private ReadOnlyBooleanWrapper | |
| private ObservableMap | |
| private ReadOnlyBooleanWrapper | |
| private ReadOnlyObjectWrapper | |
| private ReadOnlyStringWrapper | |
| private StringProperty | |
| private ReadOnlyObjectWrapper | |
| private ReadOnlyObjectWrapper | |
| private ReadOnlyObjectWrapper | |
| private ObservableList | |
| private final StringProperty | |
| private ObjectProperty | |
| private ReadOnlyObjectWrapper |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | Returns: the calendar propertyA property used to store a reference to the calendar that owns the entry. |
| public final void | changeEndDate(LocalDate
the new end date date)Changes the end date of the entry interval and ensures that the entry's interval
stays valid, which means that the start time will be before the end time and that the
duration of the entry will be at least the duration defined by the |
| public final void | changeEndDate(LocalDate
the new end date date, boolean if true then this method will also change the start date and time in such a way that the total duration
of the entry will not change. If false then this method will ensure that the entry's interval
stays valid, which means that the start time will be before the end time and that the
duration of the entry will be at least the duration defined by the keepDuration)minimumDurationProperty().Changes the end date of the entry interval. |
| public final void | changeEndTime(LocalTime
the new end time time)Changes the end time of the entry interval and ensures that the entry's interval
stays valid, which means that the start time will be before the end time and that the
duration of the entry will be at least the duration defined by the |
| public final void | changeEndTime(LocalTime
the new end time time, boolean if true then this method will also change the start time in such a way that the total duration
of the entry will not change. If false then this method will ensure that the entry's interval
stays valid, which means that the start time will be before the end time and that the
duration of the entry will be at least the duration defined by the keepDuration)minimumDurationProperty().Changes the end time of the entry interval. |
| public final void | changeStartDate(LocalDate
the new start date date)Changes the start date of the entry interval and ensures that the entry's interval
stays valid, which means that the start time will be before the end time and that the
duration of the entry will be at least the duration defined by the |
| public final void | changeStartDate(LocalDate
the new start date date, boolean if true then this method will also change the end date and time in such a way that the total duration
of the entry will not change. If false then this method will ensure that the entry's interval
stays valid, which means that the start time will be before the end time and that the
duration of the entry will be at least the duration defined by the keepDuration)minimumDurationProperty().Changes the start date of the entry interval. |
| public final void | changeStartTime(LocalTime
the new start time time)Changes the start time of the entry interval and ensures that the entry's interval
stays valid, which means that the start time will be before the end time and that the
duration of the entry will be at least the duration defined by the |
| public final void | changeStartTime(LocalTime
the new start time time, boolean if true then this method will also change the end time in such a way that the total duration
of the entry will not change. If false then this method will ensure that the entry's interval
stays valid, which means that the start time will be before the end time and that the
duration of the entry will be at least the duration defined by the keepDuration)minimumDurationProperty().Changes the start time of the entry interval. |
| public final void | |
| public final int | compareTo(Entry<?>
the object to be compared. other)Implements java. Compares this object with the specified object for order. |
| public Entry | Returns: a recurrence "copy" of the entry.If the entry defines a recurrence rule (see
|
| public final ReadOnlyObjectProperty | Returns: the end date of the entryA read-only property used for retrieving the end date of the entry. |
| public final ReadOnlyObjectProperty | Returns: the end time of the entryA read-only property used for retrieving the end time of the entry. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public final BooleanProperty | Returns: the full day propertyA property used to signal whether an entry is considered to be a "full day" entry, for example a birthday. |
| public final Calendar | |
| public final Duration | Returns: the duration of the entryUtility method to calculate the duration of the entry. |
| public final LocalDateTime | Returns: the end local date timeUtility method to get the local end date time. |
| public final ZonedDateTime | |
| public final LocalDate | Returns: the entry's end dateReturns the end date of the entry's interval (see
|
| public final long | Returns: the end time in millisecondsReturns the end time in milliseconds since 1.1.1970. |
| public final LocalTime | Returns: the entry's end timeReturns the end time of the entry's interval (see
|
| public final String | |
| public final Interval | |
| public final String | |
| public final Duration | Returns: the minimum duration of the entryReturns the value of |
| public final ObservableMap | Returns: an observable map of properties on this entry for use primarily by application developersReturns an observable map of properties on this entry for use primarily by application developers. |
| public ObservableList | |
| public final LocalDate | Returns: the recurrence rule end timeReturns the value of |
| public final String | |
| public final String | |
| public final Entry | Returns: the recurrence sourceReturns the value of |
| public final LocalDateTime | Returns: the start local date timeUtility method to get the local start date time. |
| public final ZonedDateTime | |
| public final LocalDate | Returns: the entry's start dateReturns the start date of the entry's interval (see
|
| public final long | Returns: the start time in millisecondsReturns the start time in milliseconds since 1.1.1970. |
| public final LocalTime | Returns: the entry's start timeReturns the start time of the entry's interval (see
|
| public final ObservableList | |
| public final String | |
| public final T | |
| public final ZoneId | |
| public int | |
| public final boolean | |
| public final boolean | Returns: true if the entry defines any styles on its ownChecks whether the entry has defined any custom styles at all. |
| public final boolean | Returns: true if the entries' time bounds overlapthe other entry to check entry)Utility method to determine if this entry and the given entry intersect each other (time bounds overlap each other). |
| public final boolean | Returns: true if the entry and the given time interval overlaptime interval start startTime, ZonedDateTime time interval end endTime)Utility method to determine if this entry and the given time interval intersect each other (time bounds overlap each other). |
| public final ObjectProperty | Returns: the time interval used by the entryA property used to store the time interval occupied by this entry. |
| public final boolean | Returns: true if the entry is a full day entry, e.g. a birthdayReturns the value of |
| public final boolean | |
| public final boolean | |
| public final boolean | Returns: true if the entry is a recurrence copyReturns the value of |
| private boolean | |
| public final boolean | Returns: true if the entry is recurringDetermines if the entry describes a recurring event. |
| public final boolean | |
| private boolean | |
| public final StringProperty | Returns: the location of the event specified by the entryA property used to store a free-text location specification for the given entry. |
| public boolean | Returns: true if the entry matches the given search termthe search term searchTerm)Used by the |
| public final ObjectProperty | Returns: the minimum duration of the entryA property used to store the minimum duration an entry can have. |
| public final ReadOnlyBooleanProperty | Returns: true if the end date is after the start date (multiple days)A read-only property to determine if the entry spans several days. |
| public final ReadOnlyObjectProperty | Returns: the recurrence rule end timeThe property used to store the end time of the recurrence rule. |
| public final ReadOnlyStringProperty | Returns: the recurrence ID propertyStores the recurrence ID which is being generated on-the-fly by the
|
| public final ReadOnlyBooleanProperty | Returns: true if the entry is a recurrence copyA read-only property used to indicate whether the entry is a recurrence copy of a recurrence source. |
| public final StringProperty | Returns: the recurrenceRule propertyA property used to store a recurrence rule according to RFC-2445. |
| public final ReadOnlyObjectProperty | Returns: the entry that was the source of the recurrenceIf the entry is a recurrence (see |
| public final void | |
| public final void | setCalendar(Calendar<T>
the new owning calendar of this entry cal)Sets the value of |
| public final void | setFullDay(boolean
true if entry is a full day entry, e.g. a birthday fullDay)Sets the value of |
| public final void | setHidden(boolean
true if the entry should not be visible in the calendar hidden)An entry can be made explicitly hidden. |
| public final void | |
| public final void | setInterval(Interval
the new time interval used by the entry interval)Sets the value of |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | setMinimumDuration(Duration
the minimum duration duration)Sets the value of |
| private void | |
| private void | |
| private void | |
| private void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final ReadOnlyObjectProperty | Returns: the start date of the entryA read-only property used for retrieving the start date of the entry. |
| public final ReadOnlyObjectProperty | Returns: the start time of the entryA read-only property used for retrieving the start time of the entry. |
| public final StringProperty | |
| public String | |
| private void | |
| public final ObjectProperty | Returns: the user object propertyA property used to store a reference to an optional user object. |
| public final ReadOnlyObjectProperty |