All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cmu.owl.bo.control.visualControls.luxmate.applet.App

edu.cmu.owl.bo.control.visualControls.luxmate.applet.App

public class App
This is the application underlying the GUI. This class is responsible for taking care of all the events forwarded and making remote calls to the our Java luxmate server. This class also listens for remote events in order to affect the GUI


Constructor Index

 o App(String)
This instantiates the app.

Method Index

 o bulbError(int)
This receives the bulbError event
 o changeScene(int)
This methods requests a scene change on the remote box.
 o dimDown()
This methods requests a DimDown on the remote luxmate box.
 o dimUp()
This methods requests a DimUp on the remote luxmate box.
 o init()
This method initializes the App and GUI.
 o sceneChanged(int)
This receives the sceneChanged event
 o setPowerLabel(Label)
This method sets the label to be used for the light for Power
 o setScene1Label(Label)
This method sets the label to be used for the light for Power
 o setScene2Label(Label)
This method sets the label to be used for the light for Power
 o setScene3Label(Label)
This method sets the label to be used for the light for Power
 o togglePower()
This method requests to toggle the power on the luxmate box.
 o turnedOff()
This receives the turnedOff event
 o turnedOn()
This receives the turnedOn event

Constructors

 o App
 public App(String host)
This instantiates the app. All initialization is done here

Methods

 o init
 public void init()
This method initializes the App and GUI. This should be called by the GUI once it has been prepared and ready to be affected by the App.

 o setPowerLabel
 public void setPowerLabel(Label label)
This method sets the label to be used for the light for Power

 o setScene1Label
 public void setScene1Label(Label label)
This method sets the label to be used for the light for Power

 o setScene2Label
 public void setScene2Label(Label label)
This method sets the label to be used for the light for Power

 o setScene3Label
 public void setScene3Label(Label label)
This method sets the label to be used for the light for Power

 o changeScene
 public void changeScene(int scene)
This methods requests a scene change on the remote box.

 o dimUp
 public void dimUp()
This methods requests a DimUp on the remote luxmate box.

 o dimDown
 public void dimDown()
This methods requests a DimDown on the remote luxmate box.

 o togglePower
 public void togglePower()
This method requests to toggle the power on the luxmate box.

 o turnedOff
 public void turnedOff()
This receives the turnedOff event

 o turnedOn
 public void turnedOn()
This receives the turnedOn event

 o sceneChanged
 public void sceneChanged(int scene)
This receives the sceneChanged event

 o bulbError
 public void bulbError(int n)
This receives the bulbError event


All Packages  Class Hierarchy  This Package  Previous  Next  Index