|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.event.WindowAdapter
|
+--Chat.v1_1.ChatClientWindow.ChatListener
ChatListener is an internal listener class which handles both WindowEvents and ActionEvents generated in the ChatClientWindow class.
| Field Summary | |
private ChatClientWindow |
cw
|
| Constructor Summary | |
ChatClientWindow.ChatListener(ChatClientWindow cw)
Creates a new ChatListener. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent ae)
Handles the event when the user pushes the send button or selects one of the menuitems. |
void |
windowClosing(java.awt.event.WindowEvent we)
Handles the event when user closes the window. |
| Methods inherited from class java.awt.event.WindowAdapter |
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private ChatClientWindow cw
| Constructor Detail |
public ChatClientWindow.ChatListener(ChatClientWindow cw)
| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListenerpublic void windowClosing(java.awt.event.WindowEvent we)
windowClosing in class java.awt.event.WindowAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||