Hi,
I think that clicking to the left or right from the zoom slider gives rather
limited impression of the OpenJUMP zooming possibilities. In addition to that
it is possible to
- drag the slider to the left or right and get what ever zoom level
- press Page Up and Page Down keys to get small zoom steps (this might be what
you are after)
- use Zoom In/Out tool and left/right click to get bigger steps
- use Zoom In/Out tool and mouse wheel to get smaller steps
- get the Zoom In/Out tool function into use anytime by using keyboard Alt as a
shortcut
- use the Zoom realtime tool
-Jukka Rahkonen-
________________________________
Lähettäjä: Bing Ran [mailto:[EMAIL PROTECTED]
Lähetetty: 28. lokakuuta 2008 5:12
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] zoombar
Hi Larry,
I did some research and it turned out that the step size is controlled
by the BasicSliderUI behind JSlider (I'm using Substance L&F) in my case and
move 1/10 of the total value range. In case of metal L&F it jumps by one unit.
I don't know if there is a simple way of configuring that.
Regarding the use of logarithmic scale: Google map uses 18 levels of
zooming with each level doubling the resolution of the previous one. It can
cover from the entire earth surface to the street level, sufficient in most
cases. In my case I'm doing a advanced restaurant search tool often I feel the
OpenJUMP zooming jumps a little too fast. I think if I can find how to set the
"step size" of the JSlider then I have the control.
Any Swing insight here?
Thanks
Bing
From: Larry Becker <mailto:[EMAIL PROTECTED]>
Sent: Monday, October 27, 2008 9:19 PM
To: OpenJump develop and use
<mailto:jump-pilot-devel@lists.sourceforge.net>
Subject: Re: [JPP-Devel] zoombar
Hi Bing,
I'm not sure if the zoom bar can display the full range of zooms if
the step size is only 2. It is kind of like a logarithmic scale. The zoom
bar's purpose is to provide a fast way of making gross changes in zoom levels,
and to display the current zoom level's order of magnitude. The usual way of
zooming by a factor of two is to use the zoom tool, either by explicitly
selecting it, or by using a quasimode modifier key (Alt). A more dynamic zoom
capability is available with the Zoom Realtime tool (use left and right mouse
drag to reposition and zoom at the same time).
regards,
Larry
On Mon, Oct 27, 2008 at 4:53 AM, Bing Ran <[EMAIL PROTECTED]> wrote:
I'd like to change the step size of the zoombar from 10 to 2
for example. Currently the zoom level change by an order of magnitude when I
click on either side of the knob. I couldn't figure this out.
Any help is appreciated.
Bing
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
Build the coolest Linux based applications with Moblin SDK &
win great prizes
Grand prize is a trip for two to an Open Source event anywhere
in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
--
http://amusingprogrammer.blogspot.com/
________________________________
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
________________________________
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel