public class ConfigView extends AbstractMonitorView
AbstractMonitorView.DescriptorcompactFields, data, fields, filter, formatterCATEGORY| Constructor and Description |
|---|
ConfigView() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannels(List<org.lsst.ccs.bus.data.AgentInfo> agents,
List<Map.Entry<String,AgentChannel>> channels)
Adds channels to this view.
|
static PersistableMonitorView |
decorateView(PersistableMonitorView view)
Decorates an arbitrary view by adding
ConfigView to its bottom. |
AbstractMonitorView.Descriptor |
getDescriptor()
Returns a reference to the descriptor maintained by this component.
|
JComponent |
getPanel()
Returns the graphical component maintained by this view.
|
void |
removeChannels(List<org.lsst.ccs.bus.data.AgentInfo> agents,
List<Map.Entry<String,AgentChannel>> channels)
Removes channels from this view.
|
void |
setFilter(AgentChannelsFilter filter)
Sets the channels filter to be used by this view.
|
void |
updateChannels(List<Map.Entry<String,Map.Entry<AgentChannel,List<String>>>> channels)
Updates channels in this view.
|
configure, connect, createChannel, disconnect, getFilter, getFormater, getGroup, getGroupFields, getGroups, isEmpty, resetChannels, save, setDiscardRemovedChannels, setFormatter, statusChanged, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitedit, getNameinstall, setName, uninstallgetCategory, getPath, restore, restorepublic static PersistableMonitorView decorateView(PersistableMonitorView view)
ConfigView to its bottom.view - View to decorate.public JComponent getPanel()
MonitorViewpublic void setFilter(AgentChannelsFilter filter)
MonitorViewsetFilter in interface MonitorViewsetFilter in class AbstractMonitorViewfilter - Filter to be associated with this view.public AbstractMonitorView.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 AbstractMonitorViewpublic 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}}.Copyright © 2023 LSST. All rights reserved.