public class ChatRoomTransferDecorator extends java.lang.Object implements java.awt.event.KeyListener, FileDropListener, ChatRoomClosingListener, java.awt.event.ActionListener
Constructor and Description |
---|
ChatRoomTransferDecorator(ChatRoom chatRoom) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
closing()
Notifies users that the room is closing.
|
void |
filesDropped(java.util.Collection<java.io.File> files,
java.awt.Component component)
Called when a file(s) has been Drag and Dropped onto a component.
|
void |
keyPressed(java.awt.event.KeyEvent ke) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
public ChatRoomTransferDecorator(ChatRoom chatRoom)
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void keyPressed(java.awt.event.KeyEvent ke)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void filesDropped(java.util.Collection<java.io.File> files, java.awt.Component component)
FileDropListener
filesDropped
in interface FileDropListener
files
- the Collection of Files.component
- the Component the files were dropped on.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void closing()
ChatRoomClosingListener
closing
in interface ChatRoomClosingListener