synergynetframework.awt
Class AWTMultiTouch

java.lang.Object
  extended by synergynetframework.awt.AWTMultiTouch
All Implemented Interfaces:
java.lang.Runnable

public class AWTMultiTouch
extends java.lang.Object
implements java.lang.Runnable

Utility class that creates and launches an AWT/Swing based multi-touch application. Create a subclass of AWTAppRenderer and pass this into the constructor.

Author:
dcs0ah1

Constructor Summary
AWTMultiTouch(AWTAppRenderer c)
          Instantiates a new AWT multi touch.
AWTMultiTouch(AWTAppRenderer c, boolean fullscreen)
          Instantiates a new AWT multi touch.
 
Method Summary
 long getFPS()
          Get the current calculated frames per second.
 void run()
          Don't call this directly.
 void setFPS(int i)
          Limit the number of frames per second.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTMultiTouch

public AWTMultiTouch(AWTAppRenderer c)
Instantiates a new AWT multi touch.

Parameters:
c - the c

AWTMultiTouch

public AWTMultiTouch(AWTAppRenderer c,
                     boolean fullscreen)
Instantiates a new AWT multi touch.

Parameters:
c - the c
fullscreen - the fullscreen
Method Detail

getFPS

public long getFPS()
Get the current calculated frames per second.

Returns:
the fps

run

public void run()
Don't call this directly.

Specified by:
run in interface java.lang.Runnable

setFPS

public void setFPS(int i)
Limit the number of frames per second.

Parameters:
i - the new fps