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 |
path2datafilter, formatterCATEGORY| Constructor and Description |
|---|
TreeView() |
| Modifier and Type | Method and Description |
|---|---|
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(Persistable.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, getFormater, isChannelListFixed, setFormatter, statusChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, install, setName, uninstalledit, getCategory, restore@Create(category="MonitorView", name="Tree View", path="Built-In/Tree", description="Monitoring data view that displays its data in a tree of tables.") public TreeView()
protected 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()
null is this view does not support saving.public void restore(Persistable.Descriptor descriptor)
descriptor - View descriptor.public TreeView.Descriptor getDescriptor()
Copyright © 2019 LSST. All rights reserved.