Module ij
Package ij.gui

Class RoiProperties

java.lang.Object
ij.gui.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

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

    Modifier and Type Method Description
    boolean showDialog()
    Displays the dialog box and returns 'false' if the user cancels it.
    boolean showImageDialog​(java.lang.String name)  
    void textValueChanged​(java.awt.event.TextEvent e)  
    void windowActivated​(java.awt.event.WindowEvent e)  
    void windowClosed​(java.awt.event.WindowEvent e)  
    void windowClosing​(java.awt.event.WindowEvent e)  
    void windowDeactivated​(java.awt.event.WindowEvent e)  
    void windowDeiconified​(java.awt.event.WindowEvent e)  
    void windowIconified​(java.awt.event.WindowEvent e)  
    void windowOpened​(java.awt.event.WindowEvent e)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RoiProperties

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

    • 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