hep.aida.ref.event
Class ObserverAdapter
java.lang.Object
java.util.Observable
hep.aida.ref.event.ObserverAdapter
- All Implemented Interfaces:
- AIDAListener
- Direct Known Subclasses:
- hep.aida.ref.plotter.adapter.AIDACloudAdapter, AIDADataPointSetAdapter, hep.aida.ref.plotter.adapter.AIDAHistogramAdapter, AIDAProfileAdapter
- public class ObserverAdapter
- extends Observable
- implements AIDAListener
An ObserverAdapter can be used as a base class for class that wants to act
as both AIDAListener and Observable, and relay things it observers to its
Observers.
- Source Code:
- ObserverAdapter.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
histo
protected IsObservable histo
update
protected Object update
ObserverAdapter
public ObserverAdapter()
ObserverAdapter
public ObserverAdapter(Object obs)
setObservable
public void setObservable(IsObservable newObs)
clearObservable
public void clearObservable()
getObservable
public IsObservable getObservable()
setValid
protected void setValid()
addObserver
public void addObserver(Observer o)
deleteObserver
public void deleteObserver(Observer o)
deleteObservers
public void deleteObservers()
stateChanged
public void stateChanged(EventObject e)
- Specified by:
stateChanged
in interface AIDAListener
Copyright © 2000-2004 FreeHEP, All Rights Reserved.