Most of the methods described in this section are used by the project Time-Object user-interface, they provide the basic task, frame, time and file handling.
"get-panel" returns the interface shown in figure 8.13, "update-panel" is called when the current object of the manager is changed to find a Time_Object for the interface.
"get-display-layer" returns a layer which allows to select different display methods for Time_Objects, see figure 8.15.
Both the user-interface and the display layer are automatically added to resp. removed from the manager when the project Time-Object or one of its subprojects is added resp. removed.
The three methods "previous-frame", "change-frame" and "next-frame" are the default actions for the frame buttons, they allow to step through the frames or to select a specific frame by typing in its number.
The method "get-time" is used to initialize the time instance variable of a Time_Object instance when it is created. It returns a pointer to the global Time_Object time variable (the one the ruler obtained by "get-time-ruler" is bound to). It is possible to change the time variable of a Time_Object instance -- this should be done before the description file is read --, in this case only the local (scene) time ruler in the manag menu can be used. This ruler is bound to the double variable returned by "get-time-var", for Time_Objects this method returns timeobj-> time.
"read-in" and "write-in" are the default methods for the buttons. "read-in" pops up a file-requester which allows to select a description file for reading. The requester is filled by calling "create-read-in" which in turn calls "get-extension" to determine which files should be displayed (all *.to files for class Time_Object). "write-in" is still not implemented, pressing the button will print an error message.
Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.