The diagram in this demo shows the room bookings for a college classroom, color coded by the department offering the course. The demo uses the toolkit's Weekly Schedule model.
The Add button adds predefined bookings and the Remove button removes selected bookings. Clicking on a booking selects it, and control-clicking adds to the selection. The Change button executes several predefined changes if the affected bookings are visible in the diagram.
| Source Files | |
|---|---|
| ScheduleData.java | the demo's data model. |
| Booking.java | the demo's data object class. |
| BookingElement.java | the demo's display element class, calculates the parameters for the WeeklyModel and the arrow geometry. |
| Schedule.java | the main program, configures the weekly schedule model and assembles the diagram. |
| schedule.rdr | describes how to render each object in the diagram. |
| schedule.properties | specifies rendering hints and logging properties. |
