Uploaded to www.rart.com/j2me-presentation/ March 19,2002
RartRunners provide the ability to execute Rart universes. The basic RartRunner functionality is povided in
the RR class which extends Applet. We have added a generic ability to deal with resources such as pictures, sounds
and text also in an applet.
RRL, extending RR, adds the functionality of RR10L, as defined in RDK 1.0 , that is, no other uParameter interaction
except that a double click steps the uParameter with index NUMBER.
RRlet, extending RRL, provides a full applet functionality including the ability to modify any defined uParameters.
The RRlet is functionally equivalet to RR10 in RDK 1.0. For the time being we have kept the dialog boxes looking
as with the previous relese, ie with the JDK 1.0 event model. We will probably (Release 2.1?) modify the boxes
and introduce a menu driven universe interface.
RR11, extending RRlet, provides full application functionality including the ability to strart up new universes
and to save and print views. A popup menu provides the user interface.
In RDK 1.0, all classes including any universes were running in the default unnamed package. This is not any
more practical and so we have provided the libraries in three packages as follows:
rartbase includes RartRunners, RR and RRL, the universe defining classes Universe and uParameter, and the
user interface class AboutDialog. It also provides a common class for text output in the RartRunner environment
(ShowTextCanvas) and a debugging aid, Debug.
rrlet includes the RartRunner RRlet and a number of dialog boxes that allderive from DialogFrame. SelectAction
appears as the first response to a mouse click. It offers the opportunity to select the AboutDialog (in the rartbase
package) or to select a uParameter to modify in ParameterChoice. From ParameterChoice the user goes to the ParameterDialog
which offers the standard way of modifying any uParameter defined for the universe. The ResultProcessor interface
is used to communicate the value of the modified uParameter to the instance of the DialogFrame initiated with the
mouse click.
rartbase and rrlet together provide the functionality to execute universes over the Internet.
rr11 includes the RartRunner RR11 and a number of classes that provide the full functionality of executing
a Rart universe as an application. DiskImageIO saves up to five views for possible later recall and printout.ViewPrintDialog
provides the Observer interface to review views of an executing universe as well as the dialog to enter the title
of a view selected for printing. ParameterDialogRR11 is quite similar to the ParameterDialog in the rrlet package.
Further work will probably allow them to be combined.