@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 AbstractMonitorView1
| Modifier and Type | Class and Description |
|---|---|
static class |
TabbedView.Descriptor
JavaBean that contains information required to re-create this view in its current state.
|
descriptor, filter| 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,
AbstractMonitorView1 view)
Sets the view to be displayed in the tab
name. |
void |
setViewFactory(Function<String,AbstractMonitorView2> 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, disconnect, getFilter, isChannelListFixed, setFilter, statusChangedpublic void setTab(String name, AbstractMonitorView1 view)
name.name - view - public void setViewFactory(Function<String,AbstractMonitorView2> 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 AbstractMonitorView1protected void disconnect(org.lsst.ccs.bus.data.AgentInfo agent)
disconnect in class AbstractMonitorView1protected void addChannels(org.lsst.ccs.bus.data.AgentInfo agent,
Map<String,AgentChannel> channels)
AbstractMonitorView1addChannels in class AbstractMonitorView1agent - Source agent.channels - Map of display paths to channels.protected void removeChannels(org.lsst.ccs.bus.data.AgentInfo agent,
List<String> paths)
AbstractMonitorView1removeChannels in class AbstractMonitorView1agent - Source agent.paths - Display paths to remove.protected void updateChannels(org.lsst.ccs.bus.data.AgentInfo agent,
Map<String,Map.Entry<AgentChannel,List<String>>> channels)
AbstractMonitorView1updateChannels in class AbstractMonitorView1agent - Source agent.channels - Map of display 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 AbstractMonitorView1public void restore(MonitorView.Descriptor descriptor)
restore in interface MonitorViewrestore in class AbstractMonitorView1descriptor - View descriptor.protected TabbedView.Descriptor getDescriptor()
AbstractMonitorView1AbstractMonitorView.Descriptor.getDescriptor in class AbstractMonitorView1Copyright © 2018 LSST. All rights reserved.