java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.Window | +----java.awt.Frame | +----cern.lhcias.csgui.TagsView.FrameDBView
TagsView type implemented: DBView
This class which is a "TagsView" enables the operator to list the content
of the real-time database (rtdb). The Frame has 5 buttons which are:
1- new tag: The tag, which name is entered in the text field located in
the menubar, is added to the rtdb. By default the tag is "remote".
2- cut tag: The tag, which name is entered in the text field located in
the menubar,is deleted from the rtdb.
3- History list: The history of the choosen tag is listed in a new window.
4- Set limits: A new window appears and enables the operator to set the limits
of the choosen tag.
5- Garbage collection: All the tags which are not subscribed by any TagsView are
deleted.
Events:
As any TagsView, it fires TagcCliked events. This event is sent when the user clicks
on the tag's line.
It receives also the TagClicked events.
Configuration:
The configuration is a file containing a list of tag names and their
configuration.
#ViewType DBConfig
#TagDef NewTag2;3.2;0;12;1;11;true;true;TestProcess;true;1;Kelvin,
#TagDef NewTag3;4.2;0;15;0;14;true;true;Process2;true;1;degre,
@see TagsView
public FrameDBView(CentralManager GStatus)
public FrameDBView(String title, CentralManager GStatus)
public synchronized void show()
public void addNotify()
public void hide()
public void instantiate(TagArrays TA, String configname, TagChangeAdapter adapter, TagClickedAdapter cadapter, OpenViewAdapter opadapter, configurationMgr cm, AlarmAdapter aA)
public String toString()
public void setConfig(String config)
public void remove()
public void addTag(String tagName)
public void addTag(Vector tagNames)
public void addTag(TagsView TVcomponent)
public void removeTag(String name)
public void removeTag(Vector tagNames)
public void removeTag(TagsView TVcomponent)
public void setProperty(String tagname, String tagProperty, String propertyValue)
public boolean doYouImplement(String type)
public Vector getPossibleTypes()
public int getComponentNb()
public Vector getComponentsList()
public Vector getLocalTagNames()
public String getType()
public Vector getTagNames()
public synchronized void repaint()
public synchronized void addTagClickedListener(TagClickedListener listener)
public synchronized void removeTagClickedListener(TagClickedListener listener)
public void receiveTagClicked(TagClickedEvent tagevent)
public void receiveTagChange(TagChangeEvent tagevent)
public void addOpenViewListener(OpenViewListener listener)
public void removeOpenViewListener(OpenViewListener listener)
public void addAlarmListener(AlarmListener listener)
public void removeAlarmListener(AlarmListener listener)