Hi Philip,

"Fennell, Philip" <[EMAIL PROTECTED]> wrote on 10/25/2005 09:48:52 AM:

> I have tried embedded links using the follwoing fragment identifiers:
> 
> xlink:href="#name"  which targets an <svg:svg id="name">...
> xlink:href="#svgView(viewBox(x,y,w,h))"
> xlink:href="#name"  that targets an <svg:view id="name" viewBox="x y w 
h"/> 
> 
> I know that the linking mecanism is working because I get error messages 
if I 
> try and link to an external server.

   Why do you get an error message?

> But the question is, how do I activate that type of behavior from 
outside of 
> the canvas?

        I would have expected the setFragmentIdentifier function to work,
that is why I was interested in a test case.

> Now I have tried making the changes under the UpdateManager so that the 
view 
> actually gets updated but without anymore success.

   Calls to Swing components should be made in the Swing thread.

> 
> 
> Regards
> 
> Philip Fennell
> 
> ________________________________
> 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tue 25/10/2005 14:11
> To: [email protected]
> Subject: Re: Trouble getting the JSVGScrollPane to jump to a different 
point 
> in the view.
> 
> 
> 
> Hi Philip,
> 
>    I am very surprised by your results.  I would have expected all of 
the
> listed
> methods  to work.
> 
>   Can you provide a small stand-alone test that shows the problem?
> (Main.java and sample content).
> 
>    Also you don't say what you are using for your fragment, are you 
using
> 'ids' or
> are you using viewBox linking?
> 
> "Fennell, Philip" <[EMAIL PROTECTED]> wrote on 10/25/2005 07:40:01 
AM:
> 
> > I have a Java app that uses Batik's JSVGScrollPane to display an SVG
> document.
> [...]
> > I want the 'paging' buttons to 'scroll' the view to the correct place. 
I
> have
> > tried various means to achieve this (some sane and some by 
desperation):
> >
> > setFragmentIdentifier
> > setURI
> >
> > and
> >
> > also embedding <a> links into the view who's target is the 'view' as
> defined
> > by a view element with an appropriate viewBox attribute, that I want 
to
> jump to.
> >
> > the first two attempts (above) achieved nothing and when I use 
embedded
> links,
> > Batik complains if it cannot find a corresponding ID within the
> document.
> > However, If it does find one, it does nothing.
> >
> > Firstly, how can I get the Swing JButtons to 'jump' scroll the view by
> > utilising view elements defined in the svg?
> >
> > Secondly, if the above can't be done, how can I get Batik to act upon
> the
> > links I'm clicking in the view?
> >
> >
> > Hoping for some help here.
> >
> >
> > Many thanks in advance,
> >
> > Philip Fennell
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: 
[EMAIL PROTECTED]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> [attachment "winmail.dat" deleted by Thomas E. DeWeese/449433/EKC] 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to