Re: queston on Interactor and Overlay

2003-09-07 Thread George Armhold
Thomas DeWeese wrote: > Take a look at batik.apps.svgbrowser.JSVGViewerFrame It has a > complete implementation that you can either subclass that or just > copy it. I'll look into providing an Adapter implementation. JSVGViewerFrame should do the trick for me, but an Adapter in the future would b

Re: queston on Interactor and Overlay

2003-09-05 Thread Thomas DeWeese
George Armhold wrote: Thomas DeWeese wrote: > What you really have is an interactor that can do one of two things. > On mouse down your interactor starts, if the mouse moves you setup > to add a line, when the mouse goes up - if there has been motion you > want to draw the line - if there has

Re: queston on Interactor and Overlay

2003-09-05 Thread George Armhold
Thomas DeWeese wrote: > What you really have is an interactor that can do one of two things. > On mouse down your interactor starts, if the mouse moves you setup > to add a line, when the mouse goes up - if there has been motion you > want to draw the line - if there has not been motion you want t

Re: queston on Interactor and Overlay

2003-09-04 Thread Thomas DeWeese
George Armhold wrote: First of all, thanks for the very speedy response! Thomas DeWeese wrote: Interactors are intended to be used for modal interaction. If you aren't interested in being modal you can use normal AWT event stuff. Sorry to be obtuse, but what exactly do you mean by "modal i

Re: queston on Interactor and Overlay

2003-09-04 Thread George Armhold
First of all, thanks for the very speedy response! Thomas DeWeese wrote: Interactors are intended to be used for modal interaction. If you aren't interested in being modal you can use normal AWT event stuff. Sorry to be obtuse, but what exactly do you mean by "modal interaction"? Here's wha

Re: queston on Interactor and Overlay

2003-09-04 Thread Thomas DeWeese
George Armhold wrote: A couple of questions about Interactor & Overlay. 1) When I add an Interator to a JSVGComponent why does my LinkActivationListener stop responding? If I modify my Interactor to always return false from startInteraction() my LinkActivationListener starts working agai

queston on Interactor and Overlay

2003-09-04 Thread George Armhold
A couple of questions about Interactor & Overlay. 1) When I add an Interator to a JSVGComponent why does my LinkActivationListener stop responding? If I modify my Interactor to always return false from startInteraction() my LinkActivationListener starts working again. Apparently when on