|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsli.dialog.app.calo.main.ServiceManagerGui
public class ServiceManagerGui
A GUI for the CSLI CALO Service Manager to be used for development, debugging, and demo purposes.
There is only one instance of this gui since there is only one manager, and it may be gotten using the Service Manager's getGui() method. The Swing component which realizes the GUI may be gotten from the getJComponent() method in this class. Every managed service will be added as a tab in a tabbed pane.
| Field Summary | |
|---|---|
static int |
PREFERRED_WIDTH
The preferred width of the GUI. |
| Constructor Summary | |
|---|---|
protected |
ServiceManagerGui(ServiceManager manager)
A protected constructor to be used by the manager's getGUI() method. |
| Method Summary | |
|---|---|
void |
addButton(JButton button)
|
protected void |
addService(Service service)
Add a service to the set of tabbed components. |
JComponent |
getJComponent()
Get the root swing component for this GUI. |
ServiceManager |
getManager()
|
void |
setErrorText(String text)
Set the text displayed in the error message area. |
void |
setLabelText(String text)
Set the text displayed in the main message area at the top. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PREFERRED_WIDTH
| Constructor Detail |
|---|
protected ServiceManagerGui(ServiceManager manager)
| Method Detail |
|---|
public void addButton(JButton button)
protected void addService(Service service)
public JComponent getJComponent()
public ServiceManager getManager()
public void setErrorText(String text)
text - public void setLabelText(String text)
text -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||