The eSuite Scheduler class defines schedule applets, which you can use to plan, schedule, and manage the tasks that make up your projects.
You can instantiate a schedule applet in an HTML page using the <APPLET> tag. Within HTML, you can configure the appearance and behavior of the schedule by setting HTML parameters of the applet.
To take advantage of the InfoCenter, you can instantiate a schedule applet within an AppletContainer. An AppletContainer can contain more that one applet. At runtime, it displays the InfoCenter that is appropriate for the applet that currently has focus.
You can manipulate the schedule programmatically, through JavaScript. To do this, you first obtain a JavaScript reference to the schedule. With this reference, you can use the Scheduler API to access the schedule's properties, methods, and parameters.
<APPLET CODEBASE="../.." CODE="lotus.scheduler.Scheduler" ARCHIVE="jars/devpack_scheduler_app.jar" WIDTH=655 HEIGHT=250> <PARAM NAME="cabinets" VALUE = "cabs/devpack_scheduler_app.cab"> </APPLET>
You can also run the Template Builder, and customize and then save the document that the Template Builder displays.
var mySchedulerApplet = document.myScheduler;You can then invoke Scheduler methods on the applet, using the "mySchedulerApplet" reference as in the following example:
maxIndex = mySchedulerApplet.getMaximumTaskIndex();
To do this, you provide NAME values for both the Applet Container and the project Scheduler objects on your HTML page. Then, in JavaScript, you assign an object variable to the Scheduler applet with a call such as the following:
var mySchedulerApplet = AppletContainer.getContainedAppletByName("ProjectScheduler");You can then invoke Scheduler methods on the Scheduler applet in the AppletContainer, using the reference, such as "mySchedulerApplet":
mySchedulerApplet.scrollScaleLineLeft();See the AppletContainer help for information about how to manipulate applets in an AppletContainer programmatically.
See also
Embedding and Configuring Schedulers
Scheduler Object Model
Scheduler Parameters Index
Scheduler API Index