public class VEventImpl extends VEvent<jfxtras.scene.control.agenda.Agenda.Appointment,VEventImpl>
Example of a VEvent for Agenda. This class creates and edits appointments for rendering in Agenda.
Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> |
appointmentGroup |
dateTimeEndProperty, descriptionProperty, durationProperty, locationProperty
categoriesProperty, commentProperty, dateTimeCreatedProperty, dateTimeLastModifiedProperty, dateTimeRecurrenceProperty, dateTimeStampProperty, dateTimeStartProperty, exDateProperty, organizerProperty, rDateProperty, relatedToProperty, rRuleProperty, sequenceProperty, summaryProperty, uniqueIdentifierProperty
VEvent.EndType
VComponent.StartEndRange
VCOMPONENT_COMPARATOR
Constructor and Description |
---|
VEventImpl(jfxtras.scene.control.agenda.Agenda.Appointment appointment,
javafx.collections.ObservableList<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> appointmentGroups)
makes new VEventImpl by copying properties from appointment.
|
VEventImpl(java.util.List<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> appointmentGroups) |
VEventImpl(VEventImpl vevent)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> |
appointmentGroupProperty() |
void |
copyTo(VComponent<jfxtras.scene.control.agenda.Agenda.Appointment> destination)
Deep copy all fields from source to destination
|
jfxtras.scene.control.agenda.Agenda.AppointmentGroup |
getAppointmentGroup() |
java.util.List<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> |
getAppointmentGroups()
appointmentGroups from Agenda.
|
static boolean |
isEqualTo(VEventImpl v1,
VEventImpl v2)
Tests equality between two VEventImpl objects.
|
static boolean |
isEqualTo(VEventImpl v1,
VEventImpl v2,
boolean verbose)
Tests equality between two VEventImpl objects.
|
java.util.List<jfxtras.scene.control.agenda.Agenda.Appointment> |
makeInstances()
Returns appointments for Agenda that should exist between dateTimeRangeStart and dateTimeRangeEnd
based on VEvent properties.
|
java.util.List<jfxtras.scene.control.agenda.Agenda.Appointment> |
makeInstances(java.time.temporal.Temporal startRange,
java.time.temporal.Temporal endRange)
Returns appointments for Agenda that should exist between dateTimeRangeStart and dateTimeRangeEnd
based on VEvent properties.
|
static VEventImpl |
parse(java.lang.String vEventString,
java.util.List<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> appointmentGroups)
Make new VEventImpl and populate properties by parsing a string of line-separated
content lines
|
void |
setAppointmentGroup(jfxtras.scene.control.agenda.Agenda.AppointmentGroup appointmentGroup) |
VEventImpl |
withAppointmentGroup(jfxtras.scene.control.agenda.Agenda.AppointmentGroup appointmentGroup) |
adjustDateTime, becomingIndividual, changedStartAndEndDateTime, dateTimeEndProperty, descriptionProperty, durationProperty, editOne, editThisAndFuture, endType, errorString, getDateTimeEnd, getDescription, getDuration, getLocation, locationProperty, makeContentLines, setDateTimeEnd, setDescription, setDuration, setLocation, streamLimitedByRange, toComponentText, toString, withDateTimeEnd, withDescription, withDuration, withLocation
categoriesProperty, commentProperty, dateTimeCreatedProperty, dateTimeLastModifiedProperty, dateTimeRecurrenceProperty, dateTimeStampProperty, dateTimeStartProperty, exDateProperty, getCategories, getComment, getDateTimeCreated, getDateTimeLastModified, getDateTimeRecurrence, getDateTimeStamp, getDateTimeStart, getEndRange, getExDate, getOrganizer, getParent, getRDate, getRelatedTo, getRRule, getSequence, getStartRange, getSummary, getUidGeneratorCallback, getUniqueIdentifier, handleDelete, handleEdit, instances, isExDatesOnOneLine, isGoogleRecurrenceUID, lastDtStartDateTimeType, organizerProperty, previousStreamValue, rDateProperty, relatedToProperty, rRuleProperty, sequenceProperty, setCategories, setComment, setDateTimeCreated, setDateTimeLastModified, setDateTimeRecurrence, setDateTimeStamp, setDateTimeStart, setEndRange, setExDate, setExDatesOnOneLine, setGoogleRecurrenceUID, setOrganizer, setParent, setRDate, setRelatedTo, setRRule, setSequence, setStartRange, setSummary, setUidGeneratorCallback, setUniqueIdentifier, setUniqueIdentifier, stream, summaryProperty, uniqueIdentifierProperty, withCategories, withDateTimeCreated, withDateTimeLastModified, withDateTimeRecurrence, withDateTimeStamp, withDateTimeStart, withEndRange, withExDate, withOrganizer, withParent, withRDate, withRelatedTo, withRRule, withSequence, withStartRange, withSummary, withSummary, withUniqueIdentifier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
countVComponents, findRelatedVComponents, findRelatedVComponents2, getDateTimeType, getZoneId, incrementSequence, isFirstRecurrence, isIndividual, isLastRecurrence, isRecurrenceSetEmpty, isStreamValue, isValid, isWholeDay, lastRecurrence
public javafx.beans.property.ObjectProperty<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> appointmentGroupProperty
getAppointmentGroup()
,
#setAppointmentGroup(AppointmentGroup)
public VEventImpl(VEventImpl vevent)
Copy constructor
public VEventImpl(java.util.List<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> appointmentGroups)
public VEventImpl(jfxtras.scene.control.agenda.Agenda.Appointment appointment, javafx.collections.ObservableList<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> appointmentGroups)
makes new VEventImpl by copying properties from appointment. stores start and end date/times as ZonedDateTime in default time zone
appointment
- - from Agendapublic javafx.beans.property.ObjectProperty<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> appointmentGroupProperty()
getAppointmentGroup()
,
#setAppointmentGroup(AppointmentGroup)
public void setAppointmentGroup(jfxtras.scene.control.agenda.Agenda.AppointmentGroup appointmentGroup)
public jfxtras.scene.control.agenda.Agenda.AppointmentGroup getAppointmentGroup()
public VEventImpl withAppointmentGroup(jfxtras.scene.control.agenda.Agenda.AppointmentGroup appointmentGroup)
public java.util.List<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> getAppointmentGroups()
appointmentGroups from Agenda. It is used to synch categories to appointmentGroup, which is needed by the makeAppointment method
makeInstances()
public void copyTo(VComponent<jfxtras.scene.control.agenda.Agenda.Appointment> destination)
Deep copy all fields from source to destination
copyTo
in interface VComponent<jfxtras.scene.control.agenda.Agenda.Appointment>
copyTo
in class VEvent<jfxtras.scene.control.agenda.Agenda.Appointment,VEventImpl>
public static VEventImpl parse(java.lang.String vEventString, java.util.List<jfxtras.scene.control.agenda.Agenda.AppointmentGroup> appointmentGroups)
Make new VEventImpl and populate properties by parsing a string of line-separated content lines
public static boolean isEqualTo(VEventImpl v1, VEventImpl v2, boolean verbose)
Tests equality between two VEventImpl objects. Treats v1 as expected. Produces a JUnit-like output if objects are not equal.
v1
- - expected VEventImplv2
- - actual VEventImplverbose
- - true = display list of unequal properties, false no display outputpublic static boolean isEqualTo(VEventImpl v1, VEventImpl v2)
Tests equality between two VEventImpl objects. Treats v1 as expected. Produces a JUnit-like output if objects are not equal.
v1
- - expected VEventImplv2
- - actual VEventImplverbose
- - true = display list of unequal properties, false no display outputpublic java.util.List<jfxtras.scene.control.agenda.Agenda.Appointment> makeInstances()
Returns appointments for Agenda that should exist between dateTimeRangeStart and dateTimeRangeEnd based on VEvent properties. Uses dateTimeRange previously set in VEvent.
<Appointment>
- public java.util.List<jfxtras.scene.control.agenda.Agenda.Appointment> makeInstances(java.time.temporal.Temporal startRange, java.time.temporal.Temporal endRange)
Returns appointments for Agenda that should exist between dateTimeRangeStart and dateTimeRangeEnd based on VEvent properties. Uses dateTimeRange previously set in VEvent.
<Appointment>
- startRange
- endRange
-