java.lang.Object | +----java.awt.Component | +----java.awt.Canvas | +----cern.lhcias.csgui.TagsView.CanvasMTagsView
TagsView type implemented: CanvasMTagsView
This class which is a "TagsView" is a simple base class for a TagsView which
display
multiple tags. This class is intended to be extended (see example class BarGraphView)
Events:
As any TagsView, it may fires TagcCliked and Alarm events.
Configuration:
The configuration is a string containing a list of tag names separated by
commas (ex: level1,PT215,TT141).
public String TYPE
public TagChangeAdapter tadapter
public Vector TagstoView
public TagArrays tagArrays
public TagClickedAdapter tcadapter
public OpenViewAdapter ovadapter
public configurationMgr cM
public AlarmAdapter alarmAdapter
public CanvasMTagsView()
public synchronized void addTagClickedListener(TagClickedListener listener)
public synchronized void removeTagClickedListener(TagClickedListener listener)
public void fireTagClickedEvent(String name)
public synchronized void addAlarmListener(AlarmListener listener)
public synchronized void removeAlarmListener(AlarmListener listener)
public void removeOpenViewListener(OpenViewListener listener)
public void addOpenViewListener(OpenViewListener listener)
public void addMouseListener(MouseListener cMouse)
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)
public void drawVerticalTicks(Graphics g, int x_origin, int y_origin, int width, int height, int nb_ticks, double min, double max, int tick_size, boolean grid_on, Color axisColor, Color gridColor)
public Vector getTags()
public double[] getDoubles()
public double[] getLimits()