@ConsoleLookup(id="org.lsst.ccs.gconsole.plugins.monitor.MonitorView", name="Tree View", path="Built-In/Tree", description="Monitoring data view that displays its data in a tree of tables.") public class TreeView extends AbstractMonitorView2
MonitorView that displays monitoring data as a tree of tables.
All access to instances of this class, including construction, should happen on the EDT.| Modifier and Type | Class and Description |
|---|---|
static class |
TreeView.Descriptor
JavaBean that contains information required to re-create this view in its current state.
|
protected class |
TreeView.DisplayNode |
static class |
TreeView.InterNodeDescriptor |
protected class |
TreeView.MonitorTableNode |
path2datadescriptor, filter| Constructor and Description |
|---|
TreeView() |
| Modifier and Type | Method and Description |
|---|---|
protected TreeView.Descriptor |
getDescriptor()
Returns a reference to the descriptor maintained by this view.
|
JComponent |
getPanel()
Returns the graphical component maintained by this view.
|
protected void |
resetChannels()
Should be implemented to completely rebuild the view based on
path2data field. |
void |
restore(MonitorView.Descriptor descriptor)
Restores this view to the state described by the provided descriptor, to the extent possible.
|
TreeView.Descriptor |
save()
Returns a descriptor that contains information required to re-create this view in its current state.
|
void |
setFilter(AgentChannelsFilter filter)
Called to set a filter on this view.
|
addChannels, createChannelHandle, isEmpty, removeChannels, updateChannelsconfigure, connect, connect, disconnect, disconnect, getFilter, isChannelListFixed, statusChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, install, setName, uninstallprotected void resetChannels()
AbstractMonitorView2path2data field.
Called on EDT whenever channels have been added or removed.resetChannels in class AbstractMonitorView2public JComponent getPanel()
public void setFilter(AgentChannelsFilter filter)
setFilter in interface MonitorViewsetFilter in class AbstractMonitorView1filter - Filter to use.public TreeView.Descriptor save()
save in interface MonitorViewsave in class AbstractMonitorView1null is this view does not support saving.public void restore(MonitorView.Descriptor descriptor)
restore in interface MonitorViewrestore in class AbstractMonitorView1descriptor - View descriptor.protected TreeView.Descriptor getDescriptor()
getDescriptor in class AbstractMonitorView1Copyright © 2018 LSST. All rights reserved.