Class JDialogListener

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener

    public class JDialogListener
    extends java.lang.Object
    implements java.beans.PropertyChangeListener
    JDialogListener can be used to link JDialog instances with Frames. If the JMRI Web Frame Server, JmriJFrameServlet encounters a Frame with this listener attached, the Dialog will be accessible via the server. This listener must be removed when the Dialog is closed.
    Since:
    5.5.6
    • Constructor Summary

      Constructors 
      Constructor Description
      JDialogListener​(javax.swing.JDialog dialog)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.JDialog getDialog()  
      void propertyChange​(java.beans.PropertyChangeEvent evt)  
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getDialog

        public javax.swing.JDialog getDialog()
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent evt)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener