hep.aida.ref.event
Class AIDAObservable
java.lang.Object
hep.aida.ref.event.AIDAObservable
- Direct Known Subclasses:
- DataPoint, ManagedObject, Measurement, RemoteTree, Tree
- public abstract class AIDAObservable
- extends Object
A basic implementation of isObservable.
Although this class implements all the methods of IsObservable, it does
not explicitly implement the IsObservable interface. This is so that
ManagedObject can extend AIDAObservable, although not all ManagedObjects
implement IsObservable.
- Version:
- $Id: AIDAObservable.java,v 1.8 2005/11/11 20:18:43 serbo Exp $
- Author:
- tonyj
- Source Code:
- AIDAObservable.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isConnected
protected boolean isConnected
connectionDidChange
protected boolean connectionDidChange
isValid
protected boolean isValid
AIDAObservable
protected AIDAObservable()
setIsValidAfterNotify
protected void setIsValidAfterNotify(boolean value)
addListener
public void addListener(AIDAListener l)
removeListener
public void removeListener(AIDAListener l)
removeAllListeners
public void removeAllListeners()
setValid
public void setValid(AIDAListener l)
setValidForAll
public void setValidForAll()
createEvent
protected EventObject createEvent()
setConnected
public void setConnected(boolean isConnected)
isConnected
public boolean isConnected()
fireStateChanged
protected void fireStateChanged()
- Method to be used by subclass that only fire a single event (theEvent)
fireStateChanged
protected void fireStateChanged(EventObject event)
fireStateChanged
protected void fireStateChanged(EventObject event,
boolean checkValid)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.