Class cern.lhcias.csgui.TagsView.Synoptic

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----cern.lhcias.csgui.TagsView.Synoptic

public class Synoptic
extends Panel
implements TagsView


TagsView type implemented: SynopticView

The class Synoptic is a dgsl interpretor.
It reads a dgsl (Dynamic Graphic Scripting Language) file and animates a synoptic
according to the script commands (see DGSL specifications).

Events:
As any TagsView, it fires TagcCliked events. This event is sent when the user clicks
on a dynamic object created by the interpretor.
It also sends OpenViewEvent events when the user calls the "map" dgsl command.

Properties:
String1 String2 : String substitution in the script (typically tag names) if called before instantiate

Configuration:
The filename of the dgsl file.


Variable Index

 o alarmAdapter
 

Constructor Index

 o Synoptic()
 

Method Index

 o addAlarmListener(AlarmListener)
 
 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 getResize()
 
 o getTagNames()
 
 o getType()
 
 o instantiate(TagArrays, String, TagChangeAdapter, TagClickedAdapter, OpenViewAdapter, configurationMgr, AlarmAdapter)
 
 o IsValid()
 
 o paint(Graphics)
 
 o receiveTagChange(TagChangeEvent)
 
 o removeAlarmListener(AlarmListener)
 
 o removeNotify()
 
 o removeOpenViewListener(OpenViewListener)
 
 o removeTag(String)
 
 o removeTag(TagsView)
 
 o removeTag(Vector)
 
 o removeTagClickedListener(TagClickedListener)
 
 o setConfig(String)
Not effective here.
 o setProperty(String, String, String)
"",OldString,NewString : String substitution in the script (typically tag names) if called before instantiate This is usefull to create generic scripts.
 o setResize(boolean)
 
 o toString()
The configuration is the filename of the dgsl file.
 o update(Graphics)
 

Variables

 o alarmAdapter

 public AlarmAdapter alarmAdapter

Constructors

 o Synoptic

 public Synoptic()

Methods

 o addTagClickedListener

 public synchronized void addTagClickedListener(TagClickedListener listener)

 o removeTagClickedListener

 public synchronized void removeTagClickedListener(TagClickedListener listener)

 o addOpenViewListener

 public synchronized void addOpenViewListener(OpenViewListener listener)

 o removeOpenViewListener

 public synchronized void removeOpenViewListener(OpenViewListener listener)

 o addAlarmListener

 public void addAlarmListener(AlarmListener listener)

 o removeAlarmListener

 public void removeAlarmListener(AlarmListener listener)

 o getResize

 public boolean getResize()

 o setResize

 public void setResize(boolean Resize)

 o instantiate

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

 o getComponentNb

 public int getComponentNb()

 o getComponentsList

 public Vector getComponentsList()

 o getLocalTagNames

 public Vector getLocalTagNames()

 o getTagNames

 public Vector getTagNames()

 o toString

 public String toString()
The configuration is the filename of the dgsl file.
Overrides:
toString in class Component

 o setConfig

 public void setConfig(String config)
Not effective here. The synoptic can only be configured in the instantiate method.

 o IsValid

 public boolean IsValid()

 o removeNotify

 public void removeNotify()
Overrides:
removeNotify in class Container

 o setProperty

 public void setProperty(String tagName,
                         String tagProperty,
                         String propertyValue)
"",OldString,NewString : String substitution in the script (typically tag names) if called before instantiate This is usefull to create generic scripts.

 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 tagName)

 o removeTag

 public void removeTag(Vector tagNames)

 o removeTag

 public void removeTag(TagsView TVcomponent)

 o receiveTagChange

 public void receiveTagChange(TagChangeEvent tagevent)

 o update

 public void update(Graphics g)
Overrides:
update in class Container

 o paint

 public synchronized void paint(Graphics g)
Overrides:
paint in class Container

 o doYouImplement

 public boolean doYouImplement(String type)

 o getPossibleTypes

 public Vector getPossibleTypes()

 o getType

 public String getType()