HTML Widget Class

The main bottleneck we have in the programming is the lack of an HTML widget. We want this to display the text for the quizzes, missions, help, newspaper and journal articles, etc. Also, we need it to support forms. It appears that legal restrictions and other issues will delay, if not entirely eliminate, the possibility of using the HotJava classes. There is another HTML widget being developed casually by a person in the Koala group. We need to keep an eye on this.

The plan is to continue to develop code using the hobbled version of the HTML widget that we currently have. It is badly behaved in terms of initial sizing, etc. but it does the job. If necessary, we will modify the source for this to make it do the necessary things. The important thing is to restrict ourselves to a limited set of methods that define the API to the HTML widget. This way we will write a wrapper to the new HTML widget when we receive it which connects those classes to ours.

Below is an initial list of methods that I think we may need and that can be implemented relatively easily for any HTML widget. As people feel they need more functionality from the widget and hence new methods, please notify everyone and let's try to see if we can support that. This approach is important as we don't want to have a lot of work to slide in the new HTML widget.

If you need to parse HTML in an application, I have a very slow simple version of one which we can use in the short term. Also, I have the initial HotJava parser as source code if anyone wants to take a look at it.

The API is here in another file.


1
If there is a strong feeling from everyone, we can change the directory layout, but most of this should be transparent as the common makefile and executable script should hide most of the details and bookmarks should allow easy access to the documentation

Duncan Temple Lang<duncan@research.bell-labs.com>
Last modified: Mon Nov 24 14:27:40 EST 1997