
public abstract class GeneralGUI extends Object implements org.lsst.ccs.messaging.StatusMessageListener, org.lsst.ccs.messaging.AgentPresenceListener, Serializable
| 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 GeneralPanel |
generalPanel |
long |
initializationTimeout |
JScrollPane |
pane |
protected boolean |
panelStateInitialized |
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.data.AgentInfo agent) |
void |
disconnecting(org.lsst.ccs.bus.data.AgentInfo agent) |
JComponent |
getGuiLayout() |
String |
getName() |
void |
initGui() |
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s)
To update the Subsystem state panel only when the subsytem state has
changed.
|
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 |
shutdownMyDestinationSubsystem() |
void |
stopMyDestinationSubsystem() |
void |
updateStateWithSensors() |
protected final String destination
protected GeneralPanel generalPanel
protected boolean panelStateInitialized
public JScrollPane pane
public long abortTimeout
public long updateStateWithSensorsTimeout
protected transient org.lsst.ccs.messaging.AgentMessagingLayer aml
public long initializationTimeout
public String getName()
public void initGui()
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 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.StatusMessageListeners - public void connecting(org.lsst.ccs.bus.data.AgentInfo agent)
connecting in interface org.lsst.ccs.messaging.AgentPresenceListenerpublic void disconnecting(org.lsst.ccs.bus.data.AgentInfo agent)
disconnecting in interface org.lsst.ccs.messaging.AgentPresenceListenerCopyright © 2016 LSST. All rights reserved.