Put ImageJ into scrolling mode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Put ImageJ into scrolling mode

Jon Harman-3
Hi,
Is there a way to programmatically put ImageJ into scrolling mode (i.e.
pan mode, rather than rectangle selection mode, the default) for a
displayed image?


Jon

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Put ImageJ into scrolling mode

Jon Harman-3
Hi, found an answer:
IJ.setTool(12);

Jon


On 8/12/2014 11:27 AM, Jon Harman wrote:

> Hi,
> Is there a way to programmatically put ImageJ into scrolling mode (i.e.
> pan mode, rather than rectangle selection mode, the default) for a
> displayed image?
>
>
> Jon
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Put ImageJ into scrolling mode

Peterbauer Thomas
In reply to this post by Jon Harman-3
Jon,

pressing the space bar temporarily switches to the pan mode (hand tool).

There are other options (programmatically switching to pan mode at startup
with the StartupMacro, writing a CommandListener plugin and setting the tool
from the plugin whenever the command for file opening comes along), but I
think the space bar shortcut is by far the easiest solution.

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Jon
Harman
Sent: 12 August 2014 20:28
To: [hidden email]
Subject: Put ImageJ into scrolling mode

Hi,
Is there a way to programmatically put ImageJ into scrolling mode (i.e.
pan mode, rather than rectangle selection mode, the default) for a displayed
image?


Jon

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html