@ConsoleLookup(id="org.lsst.ccs.gconsole.plugins.monitor.MonitorView", name="Tabbed View", path="Built-In/Tabbed", description="Monitoring data view that displays its data in a set of tabs.") public class TabbedView extends AbstractMonitorView
| Modifier and Type | Class and Description |
|---|---|
static class |
TabbedView.Descriptor
JavaBean that contains information required to re-create this view in its current state.
|
AbstractMonitorView.ChannelDisplay, AbstractMonitorView.ChannelHandle, AbstractMonitorView.DefaultChannelHandledescriptor, filter, path2data| Constructor and Description |
|---|
TabbedView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChannels(org.lsst.ccs.bus.data.AgentInfo agent,
Map<String,AgentChannel> channels)
Adds channels to display.
|
protected void |
connect(org.lsst.ccs.bus.data.AgentInfo agent) |
protected void |
disconnect(org.lsst.ccs.bus.data.AgentInfo agent) |
protected TabbedView.Descriptor |
getDescriptor()
Returns a reference to the descriptor maintained by this view.
|
JComponent |
getPanel()
Returns the graphical component maintained by this view.
|
protected void |
removeChannels(org.lsst.ccs.bus.data.AgentInfo agent,
List<String> paths)
Removes a channels from this view.
|
void |
restore(MonitorView.Descriptor descriptor)
Restores this view to the state described by the provided descriptor, to the extent possible.
|
TabbedView.Descriptor |
save()
Returns a descriptor that contains information required to re-create this view in its current state.
|
void |
setTab(String name,
AbstractMonitorView view)
Sets the view to be displayed in the tab
name. |
void |
setViewFactory(Function<String,AbstractMonitorView> factory)
Sets the factory used to create views for tabs for which the view has not been explicitly set.
|
protected void |
updateChannels(org.lsst.ccs.bus.data.AgentInfo agent,
Map<String,Map.Entry<AgentChannel,List<String>>> channels)
Called to notify this view that the specified channels have been updated.
|
configure, connect, createChannelHandle, disconnect, getFilter, isChannelListFixed, isEmpty, resetChannels, setFilter, statusChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, install, setName, uninstallpublic 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()
MonitorViewprotected void connect(org.lsst.ccs.bus.data.AgentInfo agent)
connect in class AbstractMonitorViewprotected void disconnect(org.lsst.ccs.bus.data.AgentInfo agent)
disconnect in class AbstractMonitorViewprotected void addChannels(org.lsst.ccs.bus.data.AgentInfo agent,
Map<String,AgentChannel> channels)
AbstractMonitorViewaddChannels in class AbstractMonitorViewagent - Source agent.channels - Map of paths to channels.protected void removeChannels(org.lsst.ccs.bus.data.AgentInfo agent,
List<String> paths)
AbstractMonitorViewremoveChannels in class AbstractMonitorViewagent - Source agent.paths - Paths to remove.protected void updateChannels(org.lsst.ccs.bus.data.AgentInfo agent,
Map<String,Map.Entry<AgentChannel,List<String>>> channels)
AbstractMonitorViewupdateChannels in class AbstractMonitorViewagent - Source agent.channels - Map of paths to key-value pairs, where the key is as AgentChannel object
and the value is a list of changed attributes.public TabbedView.Descriptor save()
save in interface MonitorViewsave in class AbstractMonitorViewpublic void restore(MonitorView.Descriptor descriptor)
restore in interface MonitorViewrestore in class AbstractMonitorViewdescriptor - View descriptor.protected TabbedView.Descriptor getDescriptor()
AbstractMonitorViewAbstractMonitorView.Descriptor.getDescriptor in class AbstractMonitorViewCopyright © 2018 LSST. All rights reserved.