- java.lang.Object
-
- ij.gui.RoiProperties
-
- All Implemented Interfaces:
TextListener,WindowListener,EventListener
public class RoiProperties extends Object implements TextListener, WindowListener
Displays a dialog that allows the user to specify ROI properties such as color and line width.
-
-
Constructor Summary
Constructors Constructor Description RoiProperties(String title, Roi roi)Constructs a RoiProperties using the specified title for a given roi; call showDialog for the actual dialog.RoiProperties(String title, ImagePlus imp, Roi roi)Constructs a RoiProperties using the specified title for a given image and roi; call showDialog for the actual dialog.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshowDialog()Displays the dialog box and returns 'false' if the user cancels it.booleanshowImageDialog(String name)voidtextValueChanged(TextEvent e)voidwindowActivated(WindowEvent e)voidwindowClosed(WindowEvent e)voidwindowClosing(WindowEvent e)voidwindowDeactivated(WindowEvent e)voidwindowDeiconified(WindowEvent e)voidwindowIconified(WindowEvent e)voidwindowOpened(WindowEvent e)
-
-
-
Method Detail
-
showDialog
public boolean showDialog()
Displays the dialog box and returns 'false' if the user cancels it.
-
showImageDialog
public boolean showImageDialog(String name)
-
textValueChanged
public void textValueChanged(TextEvent e)
- Specified by:
textValueChangedin interfaceTextListener
-
windowActivated
public void windowActivated(WindowEvent e)
- Specified by:
windowActivatedin interfaceWindowListener
-
windowClosing
public void windowClosing(WindowEvent e)
- Specified by:
windowClosingin interfaceWindowListener
-
windowOpened
public void windowOpened(WindowEvent e)
- Specified by:
windowOpenedin interfaceWindowListener
-
windowClosed
public void windowClosed(WindowEvent e)
- Specified by:
windowClosedin interfaceWindowListener
-
windowIconified
public void windowIconified(WindowEvent e)
- Specified by:
windowIconifiedin interfaceWindowListener
-
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Specified by:
windowDeiconifiedin interfaceWindowListener
-
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Specified by:
windowDeactivatedin interfaceWindowListener
-
-