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
-
App(String)
- This instantiates the app.
-
bulbError(int)
- This receives the bulbError event
-
changeScene(int)
- This methods requests a scene change on the remote box.
-
dimDown()
- This methods requests a DimDown on the remote luxmate box.
-
dimUp()
- This methods requests a DimUp on the remote luxmate box.
-
init()
- This method initializes the App and GUI.
-
sceneChanged(int)
- This receives the sceneChanged event
-
setPowerLabel(Label)
- This method sets the label to be used for the light for Power
-
setScene1Label(Label)
- This method sets the label to be used for the light for Power
-
setScene2Label(Label)
- This method sets the label to be used for the light for Power
-
setScene3Label(Label)
- This method sets the label to be used for the light for Power
-
togglePower()
- This method requests to toggle the power on the luxmate box.
-
turnedOff()
- This receives the turnedOff event
-
turnedOn()
- This receives the turnedOn event
App
public App(String host)
- This instantiates the app. All initialization
is done here
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.
setPowerLabel
public void setPowerLabel(Label label)
- This method sets the label to be used for the light for Power
setScene1Label
public void setScene1Label(Label label)
- This method sets the label to be used for the light for Power
setScene2Label
public void setScene2Label(Label label)
- This method sets the label to be used for the light for Power
setScene3Label
public void setScene3Label(Label label)
- This method sets the label to be used for the light for Power
changeScene
public void changeScene(int scene)
- This methods requests a scene change on the remote box.
dimUp
public void dimUp()
- This methods requests a DimUp on the remote luxmate box.
dimDown
public void dimDown()
- This methods requests a DimDown on the remote luxmate box.
togglePower
public void togglePower()
- This method requests to toggle the power on the luxmate box.
turnedOff
public void turnedOff()
- This receives the turnedOff event
turnedOn
public void turnedOn()
- This receives the turnedOn event
sceneChanged
public void sceneChanged(int scene)
- This receives the sceneChanged event
bulbError
public void bulbError(int n)
- This receives the bulbError event
All Packages Class Hierarchy This Package Previous Next Index