public class AlertViewer extends Object implements org.lsst.ccs.services.alert.AlertListener, PanelListener
onAlert(org.lsst.ccs.services.alert.AlertEvent) should be called on EDT.| Modifier and Type | Class and Description |
|---|---|
static class |
AlertViewer.Descriptor |
| Constructor and Description |
|---|
AlertViewer(LsstAlertPlugin plugin,
AlertViewer.Descriptor configuration)
Creates an instance of
AlertViewer. |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatTimeStamp(long millis) |
void |
onAlert(org.lsst.ccs.services.alert.AlertEvent event) |
void |
process(PanelEvent event) |
public AlertViewer(LsstAlertPlugin plugin, AlertViewer.Descriptor configuration)
AlertViewer.
No GUI panels are constructed and no resources are allocated at this point.plugin - Alert plugin instance that created this viewer.configuration - public void onAlert(org.lsst.ccs.services.alert.AlertEvent event)
onAlert in interface org.lsst.ccs.services.alert.AlertListenerpublic void process(PanelEvent event)
process in interface PanelListenerpublic static String formatTimeStamp(long millis)
Copyright © 2018 LSST. All rights reserved.