|
Events and interaction
The section describes the Diva canvas event-handling
and figure manipulation classes. There are several
levels to the event support:
- The basic event-handling, in diva.canvas.event,
extends the AWT mouse-event handling to deal with floating-point
coordinate systems and affine transforms.
- The interactor classes in diva.canvas.interactor, provide
a slightly higher-level abstraction for handling events, as compared
to the regular event listeners.
- Manipulators, in diva.canvas.manipulator, provide a
pre-built set of mechanisms far attaching grab-handles to figure
so that they can be resied and reshaped.
- Connectors, in diva.canvas.connector, provide
a set of pre-built "connector" figures, that stay attached to figures
on either end of them.
|