|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccs.http.ControlPanel
public class ControlPanel
One problem with browser-fronted systems is that all too frequently, the user inadvertently closes the browser window, leaving the application in a "zombie" state where it is still loaded, using resources, and active, but there is no way to communicate with it.
The ControlPanel implements a minimal conventional GUI for apps which are mainly browser-fronted, allowing the user to get round this.
Constructor Summary | |
---|---|
ControlPanel(PanelKillable pk,
java.lang.String title,
java.lang.String icon)
Create a new Control Panel. |
Method Summary | |
---|---|
void |
launch()
Display control panel. |
void |
setSubsystem(java.lang.String subsysID)
Set the current subsystem. |
void |
setTalkUrl(java.lang.String url)
The the URL for the "talk to me" function. |
void |
setTitle(java.lang.String title)
Set the title. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlPanel(PanelKillable pk, java.lang.String title, java.lang.String icon)
pk
- Your app.title
- Your app's title. This is washed through MsgHelper.icon
- The filename of your app's icon. This is resolved relative
to the ~checkpoint/furniture folder.Method Detail |
---|
public void launch()
public void setSubsystem(java.lang.String subsysID)
public void setTitle(java.lang.String title)
title
- Your app's title. This is washed through MsgHelper.public void setTalkUrl(java.lang.String url)
url
- The URL to call.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |