Login  Register

Re: macro dialog interface

Posted by Winnok H. De Vos on May 07, 2008; 8:24am
URL: http://imagej.273.s1.nabble.com/detect-motion-across-frames-tp3696278p3696291.html

Dear Michael

Thanks for your quick response and explanation.
I'll deal with the screen-high window for now and if expansion is necessary
follow up on your suggestions.
Kind regards,
Winnok


-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Michael Schmid
Sent: woensdag 7 mei 2008 10:13
To: [hidden email]
Subject: Re: macro dialog interface

Hi Winnok,

no, sorry, you can't. You could have several checkboxes in
one line if you write a PlugIn or PlugInFilter and use the
addPanel method of GenericDialog.
Or you completely write a java.awt.Dialog yourself.

There is a disadvantage of having your own Panel with
checkboxes - ImageJ knows nothing about them.
- You cannot use the getNexBoolean() method to read the state
   of the checkbox
- The state of the checkbox cannot be set in a macro (and not
   recorded by the Macro Recorder)

Michael
________________________________________________________________

On 7 May 2008, at 09:55, Winnok De Vos (ugent) wrote:

> Dear all
>
> I have a small question of rather practical and esthetical nature:
> Is it possible to put options and checkboxes etc in a dialog next  
> to instead
> of below each other with macro language?
> Many thanks in advance.
> Kind regards
> Winnok

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.23.9/1417 - Release Date: 6/05/2008
8:07
 

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.23.9/1417 - Release Date: 6/05/2008
8:07