Class MainWindowListener
java.lang.Object
java.awt.event.WindowAdapter
com.nilhcem.fakesmtp.gui.listeners.MainWindowListener
- All Implemented Interfaces:
WindowFocusListener
,WindowListener
,WindowStateListener
,EventListener
Responsible for window minimizing and closing. If SystemTray is supported,
the window MainFrame is minimized to an icon.
- Since:
- 2.1
- Author:
- Vest
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened
-
Constructor Details
-
MainWindowListener
- Parameters:
mainFrame
- The MainFrame class used for closing actions from TrayPopup.
-
-
Method Details
-
windowStateChanged
- Specified by:
windowStateChanged
in interfaceWindowStateListener
- Overrides:
windowStateChanged
in classWindowAdapter
-