net.sf.myjaut
Class RefreshingObserveable

java.lang.Object
  extended by net.sf.myjaut.Observeable<Refreshable>
      extended by net.sf.myjaut.RefreshingObserveable

public class RefreshingObserveable
extends Observeable<Refreshable>

Triggers the listeners to refresh at a given framerate (per second).


Field Summary
 
Fields inherited from class net.sf.myjaut.Observeable
listeners
 
Constructor Summary
RefreshingObserveable(int framerate)
           
 
Method Summary
 void addListener(Refreshable arg0)
           
protected  void signalFirstListener()
           
protected  void signalNoListeners()
           
 
Methods inherited from class net.sf.myjaut.Observeable
getListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefreshingObserveable

public RefreshingObserveable(int framerate)
Method Detail

addListener

public void addListener(Refreshable arg0)
Overrides:
addListener in class Observeable<Refreshable>

signalFirstListener

protected void signalFirstListener()
Overrides:
signalFirstListener in class Observeable<Refreshable>

signalNoListeners

protected void signalNoListeners()
Overrides:
signalNoListeners in class Observeable<Refreshable>


This code documentation is disclosed as part of Kagiru Sudoku. It is licensed under the GNU General Public License (GPL) and comes with NO WARRANTY. See file license.txt for more info.