public class SummaryTableView extends AbstractMonitorView3 implements PersistableMonitorView
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.
getFields(false) returns a list of monitor field names to be used to format column data.
getFields(true) returns a list of column names.
Persistable.DescriptordataCATEGORYAVAILABLE_FIELDS| Constructor and Description |
|---|
SummaryTableView() |
| Modifier and Type | Method and Description |
|---|---|
Persistable.Descriptor |
getDescriptor()
Returns a reference to the descriptor maintained by this component.
|
AgentChannelsFilter |
getFilter()
Returns the filter associated with this view, or
null if there is none. |
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 |
setFilter(AgentChannelsFilter filter)
Sets the channels filter to be used by this view.
|
void |
uninstall()
Un-installs 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.
|
configure, disconnect, getGroups, isEmpty, statusChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitedit, getNamegetFormater, isEmpty, setFormatter, setNameconfigure, connect, disconnect, statusChangedgetCategory, restore, restore, savefieldToString, getFields, getGroup, stringToFieldpublic JComponent getPanel()
MonitorViewgetPanel in interface MonitorViewpublic AgentChannelsFilter getFilter()
MonitorViewnull if there is none.getFilter in interface MonitorViewpublic void setFilter(AgentChannelsFilter filter)
MonitorViewsetFilter in interface MonitorViewfilter - Filter to be associated with this view.public void install()
MonitorViewinstall in interface MonitorViewinstall in class AbstractMonitorView3public void uninstall()
MonitorViewuninstall in interface MonitorViewuninstall in class AbstractMonitorView3protected void resetChannels()
AbstractMonitorView3data field.resetChannels in class AbstractMonitorView3protected void update()
AbstractMonitorView3update in class AbstractMonitorView3public Persistable.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 PersistableCopyright © 2019 LSST. All rights reserved.