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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ButtonAdapter
public ButtonAdapter()
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