apps.control
Class ControlApp

java.lang.Object
  extended by com.jmex.game.state.GameState
      extended by synergynetframework.appsystem.table.appdefinitions.SynergyNetApp
          extended by synergynetframework.appsystem.table.appdefinitions.DefaultSynergyNetApp
              extended by apps.control.ControlApp
All Implemented Interfaces:
SimpleButtonListener, TableCommsApplicationListener

public class ControlApp
extends DefaultSynergyNetApp
implements SimpleButtonListener, TableCommsApplicationListener

The Class ControlApp.


Constructor Summary
ControlApp(ApplicationInfo info)
          Instantiates a new control app.
 
Method Summary
 void addContent()
          Adds the content.
 void buttonClicked(SimpleButton button, long id, float x, float y, float pressure)
          Button clicked.
 void buttonDragged(SimpleButton b, long id, float x, float y, float pressure)
          Button dragged.
 void buttonPressed(SimpleButton b, long id, float x, float y, float pressure)
          Button pressed.
 void buttonReleased(SimpleButton b, long id, float x, float y, float pressure)
          Button released.
 void messageReceived(java.lang.Object obj)
          Message received.
 void onActivate()
          On activate.
 void tableDisconnected()
          Table disconnected.
 
Methods inherited from class synergynetframework.appsystem.table.appdefinitions.DefaultSynergyNetApp
init
 
Methods inherited from class synergynetframework.appsystem.table.appdefinitions.SynergyNetApp
cleanup, exitApp, getActivationCount, getApplicationDataDirectory, getInfo, getMenuController, getOrthoNode, getOrthoRenderPass, getRootNode, getWorldNode, getWorldRenderPass, render, renderDebug, setActivationCount, setActive, setMenuController, setOrthoRenderPass, setRootNode, setWorldRenderPass, update
 
Methods inherited from class com.jmex.game.state.GameState
getName, getParent, isActive, setName, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlApp

public ControlApp(ApplicationInfo info)
Instantiates a new control app.

Parameters:
info - the info
Method Detail

addContent

public void addContent()
Description copied from class: SynergyNetApp
Adds the content.

Specified by:
addContent in class SynergyNetApp

buttonClicked

public void buttonClicked(SimpleButton button,
                          long id,
                          float x,
                          float y,
                          float pressure)
Description copied from interface: SimpleButtonListener
Button clicked.

Specified by:
buttonClicked in interface SimpleButtonListener
Parameters:
button - the b
id - the id
x - the x
y - the y
pressure - the pressure

buttonDragged

public void buttonDragged(SimpleButton b,
                          long id,
                          float x,
                          float y,
                          float pressure)
Description copied from interface: SimpleButtonListener
Button dragged.

Specified by:
buttonDragged in interface SimpleButtonListener
Parameters:
b - the b
id - the id
x - the x
y - the y
pressure - the pressure

buttonPressed

public void buttonPressed(SimpleButton b,
                          long id,
                          float x,
                          float y,
                          float pressure)
Description copied from interface: SimpleButtonListener
Button pressed.

Specified by:
buttonPressed in interface SimpleButtonListener
Parameters:
b - the b
id - the id
x - the x
y - the y
pressure - the pressure

buttonReleased

public void buttonReleased(SimpleButton b,
                           long id,
                           float x,
                           float y,
                           float pressure)
Description copied from interface: SimpleButtonListener
Button released.

Specified by:
buttonReleased in interface SimpleButtonListener
Parameters:
b - the b
id - the id
x - the x
y - the y
pressure - the pressure

messageReceived

public void messageReceived(java.lang.Object obj)
Description copied from interface: TableCommsApplicationListener
Message received.

Specified by:
messageReceived in interface TableCommsApplicationListener
Parameters:
obj - the obj

onActivate

public void onActivate()
Description copied from class: SynergyNetApp
On activate.

Overrides:
onActivate in class SynergyNetApp

tableDisconnected

public void tableDisconnected()
Description copied from interface: TableCommsApplicationListener
Table disconnected.

Specified by:
tableDisconnected in interface TableCommsApplicationListener