Hello Stephan,
 
Yes, you can override the PanInteractor (or any other interactor, for that matter). Just subclass AbstractPanInteractor and implement the behavior you want.
 
To use it you must disable the default interactor by calling setEnablePanInteractor(false) in your JSVGCanvas, and then register your custom interactor by calling svgCanvas.getInteractors().add(customPanInteractor).
 
Hope this helps.
 
André
----- Original Message -----
Sent: Tuesday, March 07, 2006 6:01 AM
Subject: Overide PanInteractor

Hi,
 
Is there a way to override the PanInteractor of a JSVGCanvas? 
 
Thanks in advance,
 
Stephan Zuiderwijk

 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.0/275 - Release Date: 6/3/2006

Reply via email to