xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: Selective text selection
Date Wed, 14 Mar 2007 12:44:40 GMT
Hi Daniel,

> thomas.deweese@kodak.com wrote:

> >    The 'textSelectionHandler' is protected access so you can simply
> > subclass the canvas and replace the default TextSelectionHandler
> > (there should be a createTextSelectionHandler method which would make
> > this cleaner but you can just replace it).

Daniel Meyer <daniel.meyer@pt.lu> wrote on 03/14/2007 07:03:19 AM:

> that's what I did. So there will be no side effects to this?

   I don't think so, you want to do the replacement in an
override of the initializeEventHandling function (probably call the 
super method then do the replacement) to make sure that it doesn't 
get replaced when the Canvas runs through initialization again.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message