com.threerings.opengl.gui.util
Class PseudoKeys.Adapter
java.lang.Object
com.threerings.opengl.gui.util.PseudoKeys.Adapter
- All Implemented Interfaces:
- PseudoKeys.Observer
- Enclosing class:
- PseudoKeys
public static class PseudoKeys.Adapter
- extends Object
- implements PseudoKeys.Observer
For convenience, provides no-op implementations of the observer interface.
|
Method Summary |
void |
keyPressed(long when,
int key,
float amount)
Called when a "key" (either a real key or a pseudo-key) is pressed. |
void |
keyReleased(long when,
int key)
Called when a "key" is released. |
PseudoKeys.Adapter
public PseudoKeys.Adapter()
keyPressed
public void keyPressed(long when,
int key,
float amount)
- Description copied from interface:
PseudoKeys.Observer
- Called when a "key" (either a real key or a pseudo-key) is pressed.
- Specified by:
keyPressed in interface PseudoKeys.Observer
keyReleased
public void keyReleased(long when,
int key)
- Description copied from interface:
PseudoKeys.Observer
- Called when a "key" is released.
- Specified by:
keyReleased in interface PseudoKeys.Observer
Copyright © 2011. All Rights Reserved.