On Sun, 2003-03-09 at 09:59, Eric Delacroix wrote: > Sorry, I was stopped for quite a long time and suddenly, light came to me :) > What I've done is : > In my class that extends JSVGCanvas, I made a function to remove the first > LinkActivationListener from the List LinkActivationListener... that's all. > But I don't know if I'm doing right, neither if there's an easier or more > efficient way. > If there is, please tell me > thanks > > > > Eric Delacroix > Faculté des Sciences appliquées > ULB Brussels
My solution to a similar problem was to extend the BridgeAgentUser class found within JSVGComponent class. Extend this inner class in your own JSVGCanvas object and override any methods you need to change. You're probably looking to modify the openLink() method on line 2650. The method should be the same except for the last "if" statement which handles default link actions. If there's a better way to do it, I'd love to know. -- jaaron <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
