ptolemy.actor.lib.gui
Class ArrowKeySensor.MyFrame.FocusMouseListener

java.lang.Object
  extended by ptolemy.actor.lib.gui.ArrowKeySensor.MyFrame.FocusMouseListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener
Enclosing class:
ArrowKeySensor.MyFrame

private class ArrowKeySensor.MyFrame.FocusMouseListener
extends java.lang.Object
implements java.awt.event.MouseListener


Constructor Summary
private ArrowKeySensor.MyFrame.FocusMouseListener()
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent event)
          Invoked when the mouse is clicked (pressed and released).
 void mouseEntered(java.awt.event.MouseEvent event)
          Invoked when the mouse enters a component.
 void mouseExited(java.awt.event.MouseEvent event)
          Invoked when the mouse exits a component.
 void mousePressed(java.awt.event.MouseEvent event)
          Grab the keyboard focus when the component that this listener is attached to is clicked on.
 void mouseReleased(java.awt.event.MouseEvent event)
          Invoked when the mouse is released.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrowKeySensor.MyFrame.FocusMouseListener

private ArrowKeySensor.MyFrame.FocusMouseListener()
Method Detail

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent event)
Invoked when the mouse is released. Ignored in this listener.

Specified by:
mouseReleased in interface java.awt.event.MouseListener
Parameters:
event - The corresponding event.

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent event)
Invoked when the mouse enters a component. Ignored in this listener.

Specified by:
mouseEntered in interface java.awt.event.MouseListener
Parameters:
event - The corresponding event.

mouseExited

public void mouseExited(java.awt.event.MouseEvent event)
Invoked when the mouse exits a component. Ignored in this listener.

Specified by:
mouseExited in interface java.awt.event.MouseListener
Parameters:
event - The corresponding event.

mousePressed

public void mousePressed(java.awt.event.MouseEvent event)
Grab the keyboard focus when the component that this listener is attached to is clicked on.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Parameters:
event - The corresponding event.

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent event)
Invoked when the mouse is clicked (pressed and released). Ignored in this listener.

Specified by:
mouseClicked in interface java.awt.event.MouseListener
Parameters:
event - The corresponding event.