com.javaranch.common
Class ButtonAdapter

java.lang.Object
  |
  +--com.javaranch.common.ButtonAdapter
All Implemented Interfaces:
ButtonListener, MoveListener, PressListener, ReleaseListener

public abstract class ButtonAdapter
extends java.lang.Object
implements ButtonListener, MoveListener

Extend this and override the methods that you want to implement.

This is what is passed to LButton for event handling.


Constructor Summary
ButtonAdapter()
           
 
Method Summary
 void buttonPressed()
           
 void buttonReleased()
           
 void mouseEntered()
           
 void mouseExited()
           
 void mouseHovering()
           
 void rightButtonReleased()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonAdapter

public ButtonAdapter()
Method Detail

buttonPressed

public void buttonPressed()
Specified by:
buttonPressed in interface PressListener

buttonReleased

public void buttonReleased()
Specified by:
buttonReleased in interface ReleaseListener

rightButtonReleased

public void rightButtonReleased()
Specified by:
rightButtonReleased in interface ReleaseListener

mouseHovering

public void mouseHovering()
Specified by:
mouseHovering in interface MoveListener

mouseEntered

public void mouseEntered()
Specified by:
mouseEntered in interface MoveListener

mouseExited

public void mouseExited()
Specified by:
mouseExited in interface MoveListener


Copyright ©2004 Paul Wheaton All Rights Reserved