|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.WindowAdapter
FermetureEcouteur
Écouteur destiné au programme principal et au(x) bouton(s) de fermeture du programme. La méthode de fermeture est action().
Constructor Summary | |
FermetureEcouteur()
|
Method Summary | |
void |
action()
Chaîne d'action(s) à faire avant de quitter |
void |
actionPerformed(java.awt.event.ActionEvent e)
Action de fermeture pour un bouton |
void |
windowClosing(java.awt.event.WindowEvent e)
Action de fermeture pour une fenêtre |
Methods inherited from class java.awt.event.WindowAdapter |
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FermetureEcouteur()
Method Detail |
public void windowClosing(java.awt.event.WindowEvent e)
windowClosing
in interface java.awt.event.WindowListener
e
- événement fenêtrepublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- événement de boutonpublic void action()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |