public class LazyTreeView extends AbstractMonitorView
MonitorView that displays monitoring data as a tree of tables.
Unlike the original TreeView, this class is optimized for working with a large number of channels.
All access to instances of this class, including construction, should happen on the EDT.| Modifier and Type | Class and Description |
|---|---|
static class |
LazyTreeView.Descriptor
JavaBean that contains information required to re-create this view in its current state.
|
protected class |
LazyTreeView.DisplayNode
Leaf node that displays data.
|
static class |
LazyTreeView.InterNodeDescriptor |
protected class |
LazyTreeView.MonitorTableNode
Tree node that displays a monitor table.
|
data, filter, formatterAVAILABLE_GROUP_FIELDS, CATEGORY, DEFAULT_GROUP_FIELD| Constructor and Description |
|---|
LazyTreeView() |
| Modifier and Type | Method and Description |
|---|---|
LazyTreeView.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()
Called on EDT whenever channels have been added or removed.
|
void |
restore(Persistable.Descriptor descriptor)
Restores this view to the state described by the provided descriptor, to the extent possible.
|
LazyTreeView.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, configure, connect, createChannel, disconnect, getFilter, getFormater, getGroups, isEmpty, removeChannels, setDiscardRemovedChannels, setFormatter, statusChanged, update, updateChannelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitedit, getNamefieldToString, getFields, getGroup, install, setName, stringToField, uninstallgetCategory, restore@Create(category="MonitorView", name="Lazy Tree View", path="Built-In/Optimized Tree", description="Monitoring data view that displays its data in a tree of tables.") public LazyTreeView()
protected void resetChannels()
AbstractMonitorViewdata field.
Empty implementation is provided.resetChannels in class AbstractMonitorViewpublic JComponent getPanel()
public void setFilter(AgentChannelsFilter filter)
setFilter in interface MonitorViewsetFilter in class AbstractMonitorViewfilter - Filter to use.public LazyTreeView.Descriptor save()
null is this view does not support saving.public void restore(Persistable.Descriptor descriptor)
descriptor - View descriptor.public LazyTreeView.Descriptor getDescriptor()
Copyright © 2021 LSST. All rights reserved.