Class cern.lhcias.csgui.TagsView.FrameDBView

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----cern.lhcias.csgui.TagsView.FrameDBView

public class FrameDBView
extends Frame
implements TagsView


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


Constructor Index

 o FrameDBView(CentralManager)
 
 o FrameDBView(String, CentralManager)
 

Method Index

 o addAlarmListener(AlarmListener)
 
 o addNotify()
 
 o addOpenViewListener(OpenViewListener)
 
 o addTag(String)
 
 o addTag(TagsView)
 
 o addTag(Vector)
 
 o addTagClickedListener(TagClickedListener)
 
 o doYouImplement(String)
 
 o getComponentNb()
 
 o getComponentsList()
 
 o getLocalTagNames()
 
 o getPossibleTypes()
 
 o getTagNames()
 
 o getType()
 
 o hide()
 
 o instantiate(TagArrays, String, TagChangeAdapter, TagClickedAdapter, OpenViewAdapter, configurationMgr, AlarmAdapter)
 
 o receiveTagChange(TagChangeEvent)
 
 o receiveTagClicked(TagClickedEvent)
 
 o remove()
 
 o removeAlarmListener(AlarmListener)
 
 o removeOpenViewListener(OpenViewListener)
 
 o removeTag(String)
 
 o removeTag(TagsView)
 
 o removeTag(Vector)
 
 o removeTagClickedListener(TagClickedListener)
 
 o repaint()
 
 o setConfig(String)
The configuration is the address of any standard TagsView configuration
file.
 o setProperty(String, String, String)
 
 o show()
 
 o toString()
this method will save remotely the description of the database and will return the URL of the remote file.

Constructors

 o FrameDBView

 public FrameDBView(CentralManager GStatus)

 o FrameDBView

 public FrameDBView(String title,
                    CentralManager GStatus)

Methods

 o show

 public synchronized void show()
Overrides:
show in class Window

 o addNotify

 public void addNotify()
Overrides:
addNotify in class Frame

 o hide

 public void hide()
Overrides:
hide in class Component

 o instantiate

 public void instantiate(TagArrays TA,
                         String configname,
                         TagChangeAdapter adapter,
                         TagClickedAdapter cadapter,
                         OpenViewAdapter opadapter,
                         configurationMgr cm,
                         AlarmAdapter aA)

 o toString

 public String toString()
this method will save remotely the description of the database and will return the URL of the remote file.
Overrides:
toString in class Component

 o setConfig

 public void setConfig(String config)
The configuration is the address of any standard TagsView configuration
file. Only the lines corresponding to Tags or DataServes definitions will
be taken into account.
Ex:
#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,
#DataServer Process;socket;OnChange;127.1.1.1;102;;;10;true

 o remove

 public void remove()

 o addTag

 public void addTag(String tagName)

 o addTag

 public void addTag(Vector tagNames)

 o addTag

 public void addTag(TagsView TVcomponent)

 o removeTag

 public void removeTag(String name)

 o removeTag

 public void removeTag(Vector tagNames)

 o removeTag

 public void removeTag(TagsView TVcomponent)

 o setProperty

 public void setProperty(String tagname,
                         String tagProperty,
                         String propertyValue)

 o doYouImplement

 public boolean doYouImplement(String type)

 o getPossibleTypes

 public Vector getPossibleTypes()

 o getComponentNb

 public int getComponentNb()

 o getComponentsList

 public Vector getComponentsList()

 o getLocalTagNames

 public Vector getLocalTagNames()

 o getType

 public String getType()

 o getTagNames

 public Vector getTagNames()

 o repaint

 public synchronized void repaint()
Overrides:
repaint in class Component

 o addTagClickedListener

 public synchronized void addTagClickedListener(TagClickedListener listener)

 o removeTagClickedListener

 public synchronized void removeTagClickedListener(TagClickedListener listener)

 o receiveTagClicked

 public void receiveTagClicked(TagClickedEvent tagevent)

 o receiveTagChange

 public void receiveTagChange(TagChangeEvent tagevent)

 o addOpenViewListener

 public void addOpenViewListener(OpenViewListener listener)

 o removeOpenViewListener

 public void removeOpenViewListener(OpenViewListener listener)

 o addAlarmListener

 public void addAlarmListener(AlarmListener listener)

 o removeAlarmListener

 public void removeAlarmListener(AlarmListener listener)