Class cern.lhcias.csgui.Events.TagChangeAdapter

java.lang.Object
   |
   +----cern.lhcias.csgui.Events.TagChangeAdapter

public class TagChangeAdapter
extends Object
implements TagChangeListener

This class is an event adapter which centrally manages the TagChange events. Each listener may ask for a specific tag list. In that case, they will receive an event only if one of the tags belonging to their task list has changed. If there is no task list (default) then the listener receive an event when any of the tags change.


Constructor Index

 o TagChangeAdapter()
 

Method Index

 o addTagChangeListener(TagChangeListener)
 
 o getSubscribedTags()
Returns a Vector containing the names of all the subscribed Tags
 o receiveTagChange(TagChangeEvent)
 
 o removeTagChangeListener(TagChangeListener)
 
 o subscribeTagList(TagChangeListener, Vector)
Used by the listeners to subscribe to a specific tag list.

Constructors

 o TagChangeAdapter

 public TagChangeAdapter()

Methods

 o addTagChangeListener

 public synchronized void addTagChangeListener(TagChangeListener listener)

 o removeTagChangeListener

 public synchronized void removeTagChangeListener(TagChangeListener listener)

 o subscribeTagList

 public void subscribeTagList(TagChangeListener listener,
                              Vector tagList)
Used by the listeners to subscribe to a specific tag list. If tagList is not null, then its content is added to the list of tags already subscribed by this listener. If tagList is null, all the subscriptions for this listener are canceled.

 o receiveTagChange

 public void receiveTagChange(TagChangeEvent tagevent)

 o getSubscribedTags

 public Vector getSubscribedTags()
Returns a Vector containing the names of all the subscribed Tags