public class DemoSubsystemWithMonitoringGUI extends Object implements org.lsst.ccs.subsystem.monitor.ui.CommandSender, org.lsst.ccs.messaging.StatusMessageListener, org.lsst.ccs.messaging.AgentPresenceListener, org.freehep.swing.popup.HasPopupItems
| Constructor and Description |
|---|
DemoSubsystemWithMonitoringGUI(org.lsst.ccs.messaging.AgentMessagingLayer layer) |
| Modifier and Type | Method and Description |
|---|---|
void |
connecting(org.lsst.ccs.bus.data.AgentInfo agent) |
void |
disconnecting(org.lsst.ccs.bus.data.AgentInfo agent) |
JComponent |
getGuiLayout() |
void |
initGui() |
static void |
main(String[] args) |
JPopupMenu |
modifyPopupMenu(JPopupMenu jpm,
Component cmpnt,
Point point) |
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s) |
void |
resetGui() |
String |
sendCommand(String dest,
String target,
String cmnd,
Object... args) |
public DemoSubsystemWithMonitoringGUI(org.lsst.ccs.messaging.AgentMessagingLayer layer)
public void initGui()
public JComponent getGuiLayout()
public void resetGui()
public static void main(String[] args) throws Exception
args - the command line argumentsExceptionpublic void onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s)
onStatusMessage in interface org.lsst.ccs.messaging.StatusMessageListenerpublic 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.AgentPresenceListenerpublic String sendCommand(String dest, String target, String cmnd, Object... args)
sendCommand in interface org.lsst.ccs.subsystem.monitor.ui.CommandSenderpublic JPopupMenu modifyPopupMenu(JPopupMenu jpm, Component cmpnt, Point point)
modifyPopupMenu in interface org.freehep.swing.popup.HasPopupItemsCopyright © 2018 LSST. All rights reserved.