public class RectToolOptions extends java.lang.Object implements PlugIn, DialogListener
Constructor and Description |
---|
RectToolOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
dialogItemChanged(GenericDialog gd,
java.awt.AWTEvent e)
This method is invoked by a Generic Dialog if any of the inputs have changed
(CANCEL does not trigger it; OK and running the dialog from a macro only
trigger the first DialogListener added to a GenericDialog).
|
static java.awt.Color |
getDefaultStrokeColor() |
static float |
getDefaultStrokeWidth() |
void |
run(java.lang.String arg)
This method is called when the plugin is loaded.
|
public void run(java.lang.String arg)
PlugIn
public boolean dialogItemChanged(GenericDialog gd, java.awt.AWTEvent e)
DialogListener
dialogItemChanged
in interface DialogListener
gd
- A reference to the GenericDialog.e
- The event that has been generated by the user action in the dialog.
Note that e
is null
if the
dialogItemChanged method is called after the user has pressed the
OK button or if the GenericDialog has read its parameters from a
macro.public static java.awt.Color getDefaultStrokeColor()
public static float getDefaultStrokeWidth()