motej.demos.nunchuk
Class NunchukGui

java.lang.Object
  extended by motej.demos.nunchuk.NunchukGui
All Implemented Interfaces:
java.util.EventListener, AccelerometerListener<Nunchuk>, ExtensionListener, MoteFinderListener, AnalogStickListener, NunchukButtonListener

public class NunchukGui
extends java.lang.Object
implements MoteFinderListener, ExtensionListener, AccelerometerListener<Nunchuk>, AnalogStickListener, NunchukButtonListener

Author:
Volker Fritzsch

Constructor Summary
NunchukGui()
           
 
Method Summary
 void accelerometerChanged(AccelerometerEvent<Nunchuk> evt)
           
 void analogStickChanged(AnalogStickEvent evt)
           
 void buttonPressed(NunchukButtonEvent evt)
           
 void extensionConnected(ExtensionEvent evt)
           
 void extensionDisconnected(ExtensionEvent evt)
           
protected  void initGui()
           
static void main(java.lang.String[] args)
           
 void moteFound(Mote mote)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NunchukGui

public NunchukGui()
Method Detail

main

public static void main(java.lang.String[] args)

accelerometerChanged

public void accelerometerChanged(AccelerometerEvent<Nunchuk> evt)
Specified by:
accelerometerChanged in interface AccelerometerListener<Nunchuk>

analogStickChanged

public void analogStickChanged(AnalogStickEvent evt)
Specified by:
analogStickChanged in interface AnalogStickListener

buttonPressed

public void buttonPressed(NunchukButtonEvent evt)
Specified by:
buttonPressed in interface NunchukButtonListener

extensionConnected

public void extensionConnected(ExtensionEvent evt)
Specified by:
extensionConnected in interface ExtensionListener

extensionDisconnected

public void extensionDisconnected(ExtensionEvent evt)
Specified by:
extensionDisconnected in interface ExtensionListener

initGui

protected void initGui()

moteFound

public void moteFound(Mote mote)
Specified by:
moteFound in interface MoteFinderListener