net.sf.myjaut
Class Observeable<Listener>

java.lang.Object
  extended by net.sf.myjaut.Observeable<Listener>
Direct Known Subclasses:
RefreshableObservable, RefreshingObserveable, SudokuSolver, Token

public class Observeable<Listener>
extends java.lang.Object


Field Summary
 java.util.List<Listener> listeners
           
 
Constructor Summary
Observeable()
           
 
Method Summary
 void addListener(Listener listener)
           
 java.util.List<Listener> getListeners()
           
protected  void removeListener(Listener listener)
           
protected  void signalFirstListener()
           
protected  void signalNoListeners()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

public java.util.List<Listener> listeners
Constructor Detail

Observeable

public Observeable()
Method Detail

addListener

public void addListener(Listener listener)

getListeners

public java.util.List<Listener> getListeners()

removeListener

protected void removeListener(Listener listener)

signalNoListeners

protected void signalNoListeners()

signalFirstListener

protected void signalFirstListener()


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.