This interface defines a component used to visualize in some means the behaviour of the
tags. Typical implementations of this interface could be graphical trending system,
alarm display windows, control system's supervisory synoptics, the representation of a
led,
the representation of a dial, ....
A TagsView must be an awt component of some sort (such as a canvas or a panel) to be
able to be inserted in windows or other components. Some TagsViews may then be containers
for other TagsViews.
VIEW TYPE:
Each TagsView implements one or several "view types", which is a name describing
the represention. Using the methods getType(), getPossibleTypes() and
doYouImplement(String type)the system can dynamically make the correspondance
between a representation asked by a user and the component class which offers
this kind of representation.
This "view type" can be different from the class' name enabling a single class
to
offers different view types.
If the system doesn't find a preloaded class implementing the required view type, it will
try to dynamically find and load a class which name is equal to the view type.
CONFIGURATION:
To enable serialization and to easily configure the TagsView, each of them must be
implements
the methods toString() and setConfig(String config). By doing so, TagsViews don't have to
bother about saving or loading their configuration. This will be handled by the system
(see configurationMgr).
EVENTS:
It is assumed that the TagsView sends the TagClickedEvent when the operator clicks on the
representation of a Tag, enabling so a uniform and easy behaviour of the interface.
![]()
public abstract void instantiate(TagArrays TA,
String configname,
TagChangeAdapter adapter,
TagClickedAdapter cadapter,
OpenViewAdapter opadapter,
configurationMgr cM,
AlarmAdapter aA)
![]()
public abstract void removeNotify()
![]()
public abstract void setBounds(int x,
int y,
int width,
int height)
![]()
public abstract Rectangle getBounds()
![]()
public abstract Dimension getPreferredSize()
![]()
public abstract void repaint()
![]()
public abstract String toString()
![]()
public abstract void setConfig(String config)
![]()
public abstract void addTag(String tagName)
![]()
public abstract void addTag(Vector tagNames)
![]()
public abstract void addTag(TagsView TVcomponent)
![]()
public abstract void removeTag(String tagName)
![]()
public abstract void removeTag(Vector tagNames)
![]()
public abstract void removeTag(TagsView TVcomponent)
![]()
public abstract void setProperty(String tagName,
String tagProperty,
String propertyValue)
![]()
public abstract void addTagClickedListener(TagClickedListener listener)
![]()
public abstract void removeTagClickedListener(TagClickedListener listener)
![]()
public abstract void addOpenViewListener(OpenViewListener listener)
![]()
public abstract void removeOpenViewListener(OpenViewListener listener)
![]()
public abstract void addMouseListener(MouseListener cMouse)
![]()
public abstract void addAlarmListener(AlarmListener listener)
![]()
public abstract void removeAlarmListener(AlarmListener listener)
![]()
public abstract int getComponentNb()
![]()
public abstract Vector getComponentsList()
![]()
public abstract Vector getTagNames()
![]()
public abstract Vector getLocalTagNames()
![]()
public abstract String getType()
![]()
public abstract Vector getPossibleTypes()
![]()
public abstract boolean doYouImplement(String type)