Navigation bar
  Home Print document Start Previous page
 113 of 234 
Next page End  

Gravitybox Schedule Primer
Page 111 
1998-2004 Gravitybox Software LLC
Zoom
In the course of viewing a schedule, there may come a time when the big picture must
be viewed. Many schedules are too big to view all at once and some may be too large
to ever view at once. A better perspective may be ascertained, if the user is allowed to
shrink the schedule for viewing. GbSchedule provides a Zoom property that allows this.
The Zoom may be a number between 25 and 200. This will allow for the shrinking or
expanding the schedule to see details that are not readily visible in the regular 100%
zoom mode. All the functionality is still available including moving, copying and resizing
appointments.
Provider AvailableTimes
We have discussed the basic functionality of the Providers collection. There is however
some other behavior not covered. When there exists one or more providers,
ScheduleItems may be assigned a Provider that will display as a colored bar on the
appointment’s left margin. When dealing with people (Providers), it may be advantages
to include the times that they are available as well. In a large schedule, there may be
Providers that work everyday, some Monday/Wednesday/Friday, some only Tuesdays,
etc.
There exists an AvailableTimes collection on each Provider object. This allows for the
addition of times that define when a Provider is available. Each one’s available bar will
display in the left margin of the schedule. This will allow the user to view the available
times for a Provider and not schedule an appointment for the Provider, if he is not
available.
Figure 12.1
ScheduleItem Categories
There is a Categories collection on the schedule as
discussed. It allows for the display of a colored bar on the
left margin of each appointment. There is also a Categories
collection on the ScheduleItems collection. This allows other user-defined categories to
Quick Tip
Categories provide a way to color-
coding appointments.
http://www.purepage.com