Module ij
Package ij.gui

Class RoiProperties

  • All Implemented Interfaces:
    java.awt.event.TextListener, java.awt.event.WindowListener, java.util.EventListener

    public class RoiProperties
    extends java.lang.Object
    implements java.awt.event.TextListener, java.awt.event.WindowListener
    Displays a dialog that allows the user to specify ROI properties such as color and line width.
    • Constructor Summary

      Constructor Description
      RoiProperties​(java.lang.String title, Roi roi)
      Constructs a ColorChooser using the specified title and initial color.
    • Constructor Detail

      • RoiProperties

        public RoiProperties​(java.lang.String title,
                             Roi roi)
        Constructs a ColorChooser using the specified title and initial color.
    • Method Detail

      • showDialog

        public boolean showDialog()
        Displays the dialog box and returns 'false' if the user cancels it.
      • showImageDialog

        public boolean showImageDialog​(java.lang.String name)
      • textValueChanged

        public void textValueChanged​(java.awt.event.TextEvent e)
        Specified by:
        textValueChanged in interface java.awt.event.TextListener
      • windowActivated

        public void windowActivated​(java.awt.event.WindowEvent e)
        Specified by:
        windowActivated in interface java.awt.event.WindowListener
      • windowClosing

        public void windowClosing​(java.awt.event.WindowEvent e)
        Specified by:
        windowClosing in interface java.awt.event.WindowListener
      • windowOpened

        public void windowOpened​(java.awt.event.WindowEvent e)
        Specified by:
        windowOpened in interface java.awt.event.WindowListener
      • windowClosed

        public void windowClosed​(java.awt.event.WindowEvent e)
        Specified by:
        windowClosed in interface java.awt.event.WindowListener
      • windowIconified

        public void windowIconified​(java.awt.event.WindowEvent e)
        Specified by:
        windowIconified in interface java.awt.event.WindowListener
      • windowDeiconified

        public void windowDeiconified​(java.awt.event.WindowEvent e)
        Specified by:
        windowDeiconified in interface java.awt.event.WindowListener
      • windowDeactivated

        public void windowDeactivated​(java.awt.event.WindowEvent e)
        Specified by:
        windowDeactivated in interface java.awt.event.WindowListener