
public abstract class GeneralGUI extends Object implements org.lsst.ccs.messaging.DataStatusListener, org.lsst.ccs.messaging.StatusMessageListener, org.lsst.ccs.messaging.AgentPresenceListener
| Modifier and Type | Class and Description |
|---|---|
class |
GeneralGUI.CommandSwingWorker
To send command which takes time from a JButton.
|
| Modifier and Type | Field and Description |
|---|---|
long |
abortTimeout |
protected org.lsst.ccs.messaging.AgentMessagingLayer |
aml |
protected String |
destination |
protected static Logger |
fcslog |
long |
initializationTimeout |
protected boolean |
initialized |
protected PrintWriter |
out |
JScrollPane |
pane |
protected boolean |
panelStateInitialized |
protected TopPanel |
topPanel |
long |
updateStateWithSensorsTimeout |
| Constructor and Description |
|---|
GeneralGUI(String name,
String destination,
org.lsst.ccs.messaging.AgentMessagingLayer aml) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortAction() |
void |
completeInitialization() |
void |
connecting(org.lsst.ccs.bus.messages.AgentInfo agent) |
void |
disconnecting(org.lsst.ccs.bus.messages.AgentInfo agent) |
JComponent |
getGuiLayout() |
String |
getName() |
void |
initGui() |
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s) |
void |
postInitGui()
This method can be called in the initialization methods of the FCS GUI.
|
void |
resetGui() |
void |
sendAsynchronousCommand(org.lsst.ccs.bus.messages.CommandRequest cmd) |
Object |
sendCommand(org.lsst.ccs.bus.messages.CommandRequest cmd,
long timeout) |
void |
sendCommandSwingWorker(String commandName,
long timeout) |
void |
sendCommandSwingWorker(String commandName,
long timeout,
String moduleName) |
void |
setPrintWriter(PrintWriter out) |
void |
shutdownMyDestinationSubsystem() |
void |
stopMyDestinationSubsystem() |
void |
updateStateWithSensors() |
protected static final Logger fcslog
protected final String destination
protected PrintWriter out
protected TopPanel topPanel
protected boolean initialized
protected boolean panelStateInitialized
public JScrollPane pane
public long abortTimeout
public long updateStateWithSensorsTimeout
protected org.lsst.ccs.messaging.AgentMessagingLayer aml
public long initializationTimeout
public String getName()
public void initGui()
public void postInitGui()
public JComponent getGuiLayout()
public void resetGui()
public void shutdownMyDestinationSubsystem()
public void abortAction()
public void stopMyDestinationSubsystem()
public void updateStateWithSensors()
public void completeInitialization()
public void sendCommandSwingWorker(String commandName, long timeout, String moduleName)
public void sendCommandSwingWorker(String commandName, long timeout)
public void setPrintWriter(PrintWriter out)
public void sendAsynchronousCommand(org.lsst.ccs.bus.messages.CommandRequest cmd)
public Object sendCommand(org.lsst.ccs.bus.messages.CommandRequest cmd, long timeout)
public void onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s)
onStatusMessage in interface org.lsst.ccs.messaging.DataStatusListeneronStatusMessage in interface org.lsst.ccs.messaging.StatusMessageListenerpublic void connecting(org.lsst.ccs.bus.messages.AgentInfo agent)
connecting in interface org.lsst.ccs.messaging.AgentPresenceListenerpublic void disconnecting(org.lsst.ccs.bus.messages.AgentInfo agent)
disconnecting in interface org.lsst.ccs.messaging.AgentPresenceListenerCopyright © 2015 LSST. All rights reserved.