Packages Overview


JHotDraw is organized into the following packages.

CH.ifa.draw.util

This package provides generally useful utilities that can be used independent of JHotDraw.

CH.ifa.draw.framework

The framework package includes the classes and interfaces that define the JHotDraw framework. It doesn't provide any concrete implementation classes.

CH.ifa.draw.standard

The standard package provides standard implementations of the classes defined in the framework package.

It provides abstract classes that implement a framework interface and provide default implementation. The convention is to prefix such classes with Abstract, e.g., AbstractFigure, AbstractHandle.

Classes that implement a framework interface and can be used as is start with Standard, e.g., StandardDrawing, StandardDrawingView.

CH.ifa.draw.figures

A kit of figures together with their associated support classes (tools, handles).

CH.ifa.draw.contrib

Classes that where contributed by others.

CH.ifa.draw.applet

The applet package defines a default applet user interface for a JHotDraw applet. JHotDraw applets can be developed without using this package and they can have a different user interface.

CH.ifa.draw.application

The application package defines a default user interface for standalone JHotDraw applications. This is only a default presentation.

CH.ifa.draw.samples.javadraw

The package for the javadraw sample applications. This includes the javadraw applet, application, and a viewer applet.

CH.ifa.draw.samples.pert

The package for the pert sample applet and application.

CH.ifa.draw.samples.nothing

The package for the nothing sample applet and application.

CH.ifa.draw.samples.net

The package for the net sample application.