Search
The Schedule

The Schedule class represents the data displayed by JPlanner calendar views. The schedule contains a collection of items and several collections of resources. The items are defined by the abstract Item class and implemented by the Appointment class. The resources are implemented by the Task, Location, Contact and Resource classes. Relationships between appointments and resources can be established by adding the resources associated with an item to its appropriate collections.

If your application has to process other types of schedule items, create a class for each item type by inheriting from Item or Appointment. All methods defined in Item are abstract, so if a class inherits from it, that class must implement all derived members. On the other hand, if a class derives from Appointment, it can just add its own distinct data and override the saveTo and loadFrom methods to implement serialization of the new members. Custom item classes must be registered for serialization via the registerItemClass method of the Schedule. See Creating Custom Appointment Classes tutorial for more information on how to create custom item classes.