xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: some basic JSVGScrollPane questions
Date Tue, 09 May 2006 16:50:39 GMT
Hi Philip,

philip zuniga <philip_zuniga@yahoo.com> wrote on 05/09/2006 11:53:49 AM:

> I'm currently working on an Java SWT application that
> adds SVG shapes into batik, and I'm using the
> JSVGScrollPane for this. My first question is, how do
> I always show the scroll. 

    In the SVN version of the ScrollPane there is
a ScrollbarsAlwaysVisible 'property' that you can set so
the scroll bars always take space in the display.

> Secondly, I would like to
> constantly set the value of my scroll to certain
> numbers, how do I set the value of my scroll.

   The ScrollPane is simply another view/manipulator
of the 'renderingTransform' on the JSVGCanvas.  So if
you want to set the scroll to a certain value set the
renderingTransform on the canvas.  Additionally
if you want to override some pan operations you might
consider overriding setRenderingTransform on the Canvas
so the canvas doesn't try and render in the new location
and then immediately abandon that rendering to snap back.

> And lastly, ( This has nothing to do with the
> JSVGScrollpane ) pardon me for this stupid question,
> but how do I reply in to some messages in this mailing
> list?, I need to create a new post when I want to make
> a reply.

   I'm guessing this is a problem with what ever interface
you are using to the list.  I am subscribed normally and
I just reply in my normal e-mail tool.

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

View raw message