An interactor is a Java™ class that
manages the behavior of an object in response to an event, for
example, a mouse click. JViews Diagrammer supplies various
predefined interactors.
View interactors affect the display in
general. The view interactors are typically used to manage the zoom
and pan facilities, and the selection and creation of nodes and
links. It is important to remember that when a node is added or
modified with an interactor on a view, the corresponding action is
performed in the data model.
An object interactor is local to a graphic
object. It handles the action to perform when an event is received
by a particular object, for example, double-click to open a list of
related alarms.