xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Ávila <asan...@nextech.com.br>
Subject Re: Overide PanInteractor
Date Thu, 09 Mar 2006 20:19:15 GMT
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 ----- 
  From: Stephan Zuiderwijk 
  To: batik-users@xmlgraphics.apache.org 
  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

Mime
View raw message