net.nexttext.input
Class KeyboardDefault

java.lang.Object
  extended by net.nexttext.input.InputSource
      extended by net.nexttext.input.Keyboard
          extended by net.nexttext.input.KeyboardDefault

public class KeyboardDefault
extends Keyboard

The KeyboardDefault is a Keyboard InputSource for Processing which is automatically updated as the sketch is running.


Constructor Summary
KeyboardDefault(processing.core.PApplet p)
          Builds a KeyboardDefault.
 
Method Summary
 void keyEvent(java.awt.event.KeyEvent event)
          Handles a KeyEvent.
 
Methods inherited from class net.nexttext.input.InputSource
getIterator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyboardDefault

public KeyboardDefault(processing.core.PApplet p)
Builds a KeyboardDefault.

Parameters:
p - the parent PApplet the KeyboardDefault is added to
Method Detail

keyEvent

public void keyEvent(java.awt.event.KeyEvent event)
Handles a KeyEvent.

Registered to be called automatically by the PApplet.

Parameters:
event -