Package PamUtils
Class TimedObservable
java.lang.Object
java.util.Observable
PamUtils.TimedObservable
- Direct Known Subclasses:
PamHistogram
,PamHistogram2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getDelay()
void
void
notifyObservers
(boolean immediate) Always send out a notification immediately.void
notifyObservers
(Object arg) void
setDelay
(int delay) Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged
-
Constructor Details
-
TimedObservable
public TimedObservable()
-
-
Method Details
-
notifyObservers
public void notifyObservers(boolean immediate) Always send out a notification immediately. Not possible to wait- Parameters:
immediate
- Notify immediately ignoring the delay
-
notifyObservers
public void notifyObservers()- Overrides:
notifyObservers
in classObservable
-
notifyObservers
- Overrides:
notifyObservers
in classObservable
-
getDelay
public int getDelay() -
setDelay
public void setDelay(int delay)
-