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.
TagChangeAdapter()
-
addTagChangeListener(TagChangeListener)
-
getSubscribedTags()
- Returns a Vector containing the names of all the subscribed Tags
receiveTagChange(TagChangeEvent)
-
removeTagChangeListener(TagChangeListener)
-
subscribeTagList(TagChangeListener,
Vector)
- Used by the listeners to subscribe to a specific tag list.

TagChangeAdapter
public TagChangeAdapter()

addTagChangeListener
public synchronized void addTagChangeListener(TagChangeListener listener)

removeTagChangeListener
public synchronized void removeTagChangeListener(TagChangeListener listener)

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.

receiveTagChange
public void receiveTagChange(TagChangeEvent tagevent)

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