TabbedGroupView.@Deprecated public class TabbedView extends AbstractMonitorView
The display path provided by the channels filter is assumed to be in [tab name//]path format.
No group - related methods are used.
By default, each tab contains TreeView. This can be changed through a call to setViewFactory(...).
| Modifier and Type | Class and Description |
|---|---|
static class |
TabbedView.Descriptor
Deprecated.
JavaBean that contains information required to re-create this view in its current state.
|
compactFields, data, fields, filter, formatterCATEGORY| Constructor and Description |
|---|
TabbedView()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChannels(List<org.lsst.ccs.bus.data.AgentInfo> agents,
List<Map.Entry<String,AgentChannel>> channels)
Deprecated.
Adds channels to this view.
|
TabbedView.Descriptor |
getDescriptor()
Deprecated.
Returns a reference to the descriptor maintained by this component.
|
JComponent |
getPanel()
Deprecated.
Returns the graphical component maintained by this view.
|
void |
removeChannels(List<org.lsst.ccs.bus.data.AgentInfo> agents,
List<Map.Entry<String,AgentChannel>> channels)
Deprecated.
Removes channels from this view.
|
void |
restore(Persistable.Descriptor descriptor)
Deprecated.
Restores this view to the state described by the provided descriptor, to the extent possible.
|
TabbedView.Descriptor |
save()
Deprecated.
Returns a descriptor that contains information required to re-create this view in its current state.
|
void |
setTab(String name,
AbstractMonitorView view)
Deprecated.
Sets the view to be displayed in the tab
name. |
void |
setViewFactory(Function<String,AbstractMonitorView> factory)
Deprecated.
Sets the factory used to create views for tabs for which the view has not been explicitly set.
|
protected String[] |
split(String displayPath)
Deprecated.
Splits display path produced by the filter onto [tab, path inside tab].
|
void |
updateChannels(List<Map.Entry<String,Map.Entry<AgentChannel,List<String>>>> channels)
Deprecated.
Updates channels in this view.
|
configure, connect, createChannel, disconnect, getFilter, getFormater, getGroup, getGroupFields, getGroups, isEmpty, resetChannels, setDiscardRemovedChannels, setFilter, setFormatter, statusChanged, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitedit, getNameinstall, setName, uninstallgetCategory, getPath, restorepublic void setTab(String name, AbstractMonitorView view)
name.name - view - public void setViewFactory(Function<String,AbstractMonitorView> factory)
factory - Factory that returns view instance given the tab name.public JComponent getPanel()
MonitorViewpublic void addChannels(List<org.lsst.ccs.bus.data.AgentInfo> agents, List<Map.Entry<String,AgentChannel>> channels)
AbstractMonitorViewaddChannels in class AbstractMonitorViewagents - Newly connected agents these channels belong to.channels - New channels, each entry contains display path and channel.public void removeChannels(List<org.lsst.ccs.bus.data.AgentInfo> agents, List<Map.Entry<String,AgentChannel>> channels)
AbstractMonitorViewdiscardRemovedChannels flag is not set, the channels are updated but not removed.removeChannels in class AbstractMonitorViewagents - Names of disconnected agents.channels - Removed channels, each entry contains display path and channel.public void updateChannels(List<Map.Entry<String,Map.Entry<AgentChannel,List<String>>>> channels)
AbstractMonitorViewupdateChannels in class AbstractMonitorViewchannels - Updated channels, each element contains: {display path : {channel : list of modified attributes}}.public TabbedView.Descriptor save()
save in interface Persistablesave in interface Savablesave in class AbstractMonitorViewpublic void restore(Persistable.Descriptor descriptor)
descriptor - View descriptor.public TabbedView.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.