com.threerings.opengl.gui.util
Class PseudoKeys.Adapter

java.lang.Object
  extended by 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.


Constructor Summary
PseudoKeys.Adapter()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoKeys.Adapter

public PseudoKeys.Adapter()
Method Detail

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.