buoy.internal
Class EventLinkAdapter
java.lang.Object
buoy.internal.EventLinkAdapter
- FocusListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, WindowListener
public class EventLinkAdapter
extends java.lang.Object
implements FocusListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, WindowListener
This class handles interaction with the AWT event model. Its job is to implement every listener
interface, then generate and dispatch appropriate event objects.
EventLinkAdapter
public EventLinkAdapter(Widget widget)
Create a new adapter for a particular Widget.
focusGained
public void focusGained(FocusEvent ev)
focusLost
public void focusLost(FocusEvent ev)
keyPressed
public void keyPressed(KeyEvent ev)
keyReleased
public void keyReleased(KeyEvent ev)
keyTyped
public void keyTyped(KeyEvent ev)
mouseClicked
public void mouseClicked(MouseEvent ev)
mouseDragged
public void mouseDragged(MouseEvent ev)
mouseEntered
public void mouseEntered(MouseEvent ev)
mouseExited
public void mouseExited(MouseEvent ev)
mouseMoved
public void mouseMoved(MouseEvent ev)
mousePressed
public void mousePressed(MouseEvent ev)
mouseReleased
public void mouseReleased(MouseEvent ev)
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent ev)
newEventType
public void newEventType(Class eventType)
This is called when a new event link is added to a Widget. It checks to see whether this adapter
has already been added as a listener for that event type, and if not, it adds itself.
windowActivated
public void windowActivated(WindowEvent ev)
windowClosed
public void windowClosed(WindowEvent ev)
windowClosing
public void windowClosing(WindowEvent ev)
windowDeactivated
public void windowDeactivated(WindowEvent ev)
windowDeiconified
public void windowDeiconified(WindowEvent ev)
windowIconified
public void windowIconified(WindowEvent ev)
windowOpened
public void windowOpened(WindowEvent ev)
Written by Peter Eastman.