Package jmri.util.swing
Class JDialogListener
- java.lang.Object
-
- jmri.util.swing.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)
-
-
-
Constructor Detail
-
JDialogListener
public JDialogListener(javax.swing.JDialog dialog)
-
-
Method Detail
-
getDialog
public javax.swing.JDialog getDialog()
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-