public class SummaryTableView extends AbstractMonitorView
MonitorView that displays a TreeTable with columns defined by last segments of display channel paths.
AgentChannelsFilter assigned to this view is used in the following way:
List<String> getDisplayPaths(AgentChannel channel) method provides many-to-many mapping between original monitoring channels and slash-separated display paths.
The last segment of the display path should match a column name (channels whose display path does not match any column are ignored).
The preceeding segments are used to determine the node in the tree of rows.
getGroupFields(false) returns a list of monitor field names to be used to format column data.
getGroupFields(true) returns a list of column names.
AbstractMonitorView.Descriptor| Modifier and Type | Field and Description |
|---|---|
static String |
CREATOR_PATH |
compactFields, data, fields, filter, formatterCATEGORY| Constructor and Description |
|---|
SummaryTableView() |
| Modifier and Type | Method and Description |
|---|---|
AbstractMonitorView.Descriptor |
getDescriptor()
Returns a reference to the descriptor maintained by this component.
|
JComponent |
getPanel()
Returns the graphical component maintained by this view.
|
void |
install()
Installs this view, connecting it to the data source.
|
protected void |
resetChannels()
Called on EDT whenever channels have been added or removed.
|
void |
uninstall()
Uninstalls this view, disconnecting it from the data source.
|
protected void |
update()
Called on EDT at the end of each update, after all DisplayChannel.update(...) methods.
|
addChannels, configure, connect, createChannel, disconnect, getFilter, getFormater, getGroup, getGroupFields, getGroups, isEmpty, removeChannels, save, setDiscardRemovedChannels, setFilter, setFormatter, statusChanged, updateChannelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitedit, getNamesetNamegetCategory, getPath, restore, restorepublic static final String CREATOR_PATH
@Create(category="MonitorView", name="Summary Table View", path="Built-In/Aggregating/Summary Table", description="Monitoring data view that displays a summary table, one column per group of channels. Groups are determined by the last segment in the display path.") public SummaryTableView()
public JComponent getPanel()
MonitorViewpublic void install()
MonitorViewpublic void uninstall()
MonitorViewprotected void resetChannels()
AbstractMonitorViewdata field.
Empty implementation is provided.resetChannels in class AbstractMonitorViewprotected void update()
AbstractMonitorViewupdate in class AbstractMonitorViewpublic AbstractMonitorView.Descriptor getDescriptor()
Persistablenull, and
that any properties set on the descriptor returned by this method are reflected by
descriptors subsequently returned by save(), unless modified between the two calls.getDescriptor in interface PersistablegetDescriptor in class AbstractMonitorViewCopyright © 2023 LSST. All rights reserved.