gui
Class PresenceBox
java.lang.Object
core.EventNotifier
gui.PresenceBox
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.awt.event.KeyListener
- public class PresenceBox
- extends EventNotifier
- implements java.awt.event.ActionListener, java.awt.event.KeyListener
This will be a window that is used to ask the user if they want to join the subscription
list of an unknown user. This will allow the buddy list to be updated etc...
- Author:
- holschuj
Constructor Summary |
PresenceBox(Contact newContact,
PresenceManager presence)
Creates a new presence box that will prompt the user as to whether
or not they want to send presence updates to this perticular VA. |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Handles the actions performed |
void |
display()
|
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PresenceBox
public PresenceBox(Contact newContact,
PresenceManager presence)
- Creates a new presence box that will prompt the user as to whether
or not they want to send presence updates to this perticular VA.
- Parameters:
newContact
- the person that is requesting presence messagespresence
- the presence manager that will be updated
display
public void display()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Handles the actions performed
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
main
public static void main(java.lang.String[] args)
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased
in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped
in interface java.awt.event.KeyListener