Package org.openstreetmap.josm.gui.io
Class UploadDialog.WindowEventHandler
- java.lang.Object
-
- java.awt.event.WindowAdapter
-
- org.openstreetmap.josm.gui.io.UploadDialog.WindowEventHandler
-
- All Implemented Interfaces:
WindowFocusListener
,WindowListener
,WindowStateListener
,EventListener
- Enclosing class:
- UploadDialog
class UploadDialog.WindowEventHandler extends WindowAdapter
Listens to window closing events and processes them as cancel events. Listens to window open events and initializes user input
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
activatedOnce
-
Constructor Summary
Constructors Constructor Description WindowEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
windowActivated(WindowEvent e)
void
windowClosing(WindowEvent e)
-
Methods inherited from class java.awt.event.WindowAdapter
windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
-
-
-
Field Detail
-
activatedOnce
private boolean activatedOnce
-
-
Constructor Detail
-
WindowEventHandler
WindowEventHandler()
-
-
Method Detail
-
windowClosing
public void windowClosing(WindowEvent e)
- Specified by:
windowClosing
in interfaceWindowListener
- Overrides:
windowClosing
in classWindowAdapter
-
windowActivated
public void windowActivated(WindowEvent e)
- Specified by:
windowActivated
in interfaceWindowListener
- Overrides:
windowActivated
in classWindowAdapter
-
-