As only one interactor can be installed in the view component,
you can use an interactor group to combine multiple interactors to
make them work simultaneously for the view. Not all the interactors,
however, can work together. Some of them can work together based on
the Hitmap technology. Some of them conflict with each other because
they use the same mouse event to perform the operation. The following
table shows interactors which conflict which other and therefore cannot
be used simultaneously.
Interactors that cannot be used
simultaneously |
jvcf:chartPanInteractor |
jvcf:chartZoomInteractor |
|
|
jvf:objectSelectRectInteractor |
jvf:panInteractor |
jvf:zoomInteractor |
jvdf:nodeOrLinkSelectRectInteractor |
You must add code, as shown in the following example,
to the JSP page to use interactors for multiple purposes.
<jvf:panInteractor id="panInteractor" />
<jvdf:selectInteractor id="selectInteractor" />
<jvf:highlightInteractor id="hightlight" color="yellow"/>
<jv:interactorGroup id="selectHighlight" interactors="selectInteractor panInteractor highlight"/>
<jvmf:mapView id="mapID"interactorId="selectHighlight"hitmapLayer"Symbols" ... />