
/**
 * Project      : Cassandra
 * (c)Copyright :     Artenum SARL, 24 rue Louis Blanc
 *                    75010, Paris, France 2009-2010.
 *                    http://www.artenum.com
 *                    e-mail: contact@artenum.com
 * All copyright and trademarks reserved.
 * License      : cf. LICENSE.txt
 * Developed by : Artenum SARL
 * 								http://www.artenum.com
 * Creation     : January 2011
 * Main author  : Julien Forest, Artenum SARL, Paris, France.
 */
package com.artenum.cassandra.action;

import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;

public class AdvancedWindowsEventListener implements WindowListener {

	@Override
	public void windowActivated(WindowEvent arg0) {
		
	}

	@Override
	public void windowClosed(WindowEvent arg0) {
		ConfirmationSystemExit exitAction = new ConfirmationSystemExit();
		exitAction.exit();		
	}

	@Override
	public void windowClosing(WindowEvent arg0) {
		ConfirmationSystemExit exitAction = new ConfirmationSystemExit();
		exitAction.exit();		
	}

	@Override
	public void windowDeactivated(WindowEvent arg0) {
		// TODO Auto-generated method stub
	}

	@Override
	public void windowDeiconified(WindowEvent arg0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void windowIconified(WindowEvent arg0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void windowOpened(WindowEvent arg0) {
		// TODO Auto-generated method stub
		
	}

}
