soc.client
Class SOCFaceButton.MyMouseAdapter

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by soc.client.SOCFaceButton.MyMouseAdapter
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Enclosing class:
SOCFaceButton

private class SOCFaceButton.MyMouseAdapter
extends java.awt.event.MouseAdapter

Handle Events


Constructor Summary
private SOCFaceButton.MyMouseAdapter()
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent evt)
          Handle click to change face.
 void mousePressed(java.awt.event.MouseEvent evt)
          Handle popup-click.
 void mouseReleased(java.awt.event.MouseEvent evt)
          Handle popup-click.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOCFaceButton.MyMouseAdapter

private SOCFaceButton.MyMouseAdapter()
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent evt)
Handle popup-click. mousePressed has xwindows/OS-X popup trigger.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class java.awt.event.MouseAdapter

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent evt)
Handle click to change face.

Specified by:
mouseClicked in interface java.awt.event.MouseListener
Overrides:
mouseClicked in class java.awt.event.MouseAdapter

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent evt)
Handle popup-click. mouseReleased has win32 popup trigger.

Specified by:
mouseReleased in interface java.awt.event.MouseListener
Overrides:
mouseReleased in class java.awt.event.MouseAdapter