java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----cern.lhcias.csgui.TagsView.ChartView
public class ChartView extends Panel implements TagsView,JCPickListener
TagsView type implemented: ChartView
This class which is a "TagsView" draws the trend curves of the values of rtdb
tags.
It is possible to add tags to trend by calling the addTag method or by setting
the configuration.
When a new tag is added, the chart fetches the tag's history in the local buffer.
When the user clicks on a trend curve, the closest value and the tag's name is
displayed.
Events:
As any TagsView, it fires TagcCliked events. This event is sent when the user clicks
on a trend curve.
Configuration:
The configuration is a string containing a list of tag names separated by
commas (ex: level1,PT215,TT141).
![]()
public ChartView()
![]()
public void pick(JCPickEvent e)
![]()
public void setBounds(int x,
int y,
int width,
int height)
![]()
public Dimension getPreferredSize()
![]()
public synchronized void addTagClickedListener(TagClickedListener listener)
![]()
public synchronized void removeTagClickedListener(TagClickedListener listener)
![]()
public void removeOpenViewListener(OpenViewListener listener)
![]()
public void addOpenViewListener(OpenViewListener listener)
![]()
public void addMouseListener(MouseListener cMouse)
![]()
public void addAlarmListener(AlarmListener listener)
![]()
public void removeAlarmListener(AlarmListener listener)
![]()
public void setProperty(String tagName,
String tagProperty,
String propertyValue)
![]()
public int getComponentNb()
![]()
public Vector getComponentsList()
![]()
public boolean doYouImplement(String type)
![]()
public Vector getPossibleTypes()
![]()
public String getType()
![]()
public void removeTag(String tagName)
![]()
public void removeTag(Vector tagNames)
![]()
public void removeTag(TagsView TVcomponent)
![]()
public void addTag(String tagName)
![]()
public void addTag(Vector tagNames)
![]()
public void addTag(TagsView TVcomponent)
![]()
public void setConfig(String config)
![]()
public String toString()
![]()
public Vector getTagNames()
![]()
public Vector getLocalTagNames()
![]()
public void instantiate(TagArrays TA,
String configname,
TagChangeAdapter adapter,
TagClickedAdapter cadapter,
OpenViewAdapter opadapter,
configurationMgr cm,
AlarmAdapter aA)
![]()
public void receiveTagChange(TagChangeEvent tagevent)