xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Meyer <daniel.me...@pt.lu>
Subject Re: Selective text selection
Date Wed, 14 Mar 2007 12:50:20 GMT
thomas.deweese@kodak.com wrote:
> 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.
I've tried that, works perfectly!
Thanks for the help!!
Daniel


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


---------------------------------------------------------------------
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