@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
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) |
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 |
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, disconnect, getFilter, isChannelListFixed, sendCommand, sendCommand, setFilter, statusChangedpublic 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()
MonitorViewgetPanel in interface MonitorViewgetPanel in class AbstractMonitorViewprotected 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.Copyright © 2017 LSST. All rights reserved.