Protege 3.3.1

edu.stanford.smi.protege.util
Class ListenerList

java.lang.Object
  extended by edu.stanford.smi.protege.util.ListenerCollection
      extended by edu.stanford.smi.protege.util.ListenerList

public class ListenerList
extends ListenerCollection

Maintains a list of listeners to a particular source.

Author:
Ray Fergerson

Constructor Summary
ListenerList(EventDispatcher dispatcher)
           
 
Method Summary
 Collection getListeners(Object o)
           
 Collection getSources()
           
 boolean hasListeners(Object o)
           
protected  boolean isPosting(Object o)
           
 void removeAllListeners(Object source)
           
protected  void saveListeners(Object source, Collection c)
           
protected  void setFinishPosting(Object o)
           
protected  boolean setStartPosting(Object o)
           
 
Methods inherited from class edu.stanford.smi.protege.util.ListenerCollection
add, equals, isPostingEnabled, postEvent, postEvent, postEvent, postEvent, remove, setPostingEnabled, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListenerList

public ListenerList(EventDispatcher dispatcher)
Method Detail

getListeners

public Collection getListeners(Object o)
Specified by:
getListeners in class ListenerCollection

getSources

public Collection getSources()
Specified by:
getSources in class ListenerCollection

hasListeners

public boolean hasListeners(Object o)
Specified by:
hasListeners in class ListenerCollection

isPosting

protected boolean isPosting(Object o)
Specified by:
isPosting in class ListenerCollection

removeAllListeners

public void removeAllListeners(Object source)
Specified by:
removeAllListeners in class ListenerCollection

saveListeners

protected void saveListeners(Object source,
                             Collection c)
Specified by:
saveListeners in class ListenerCollection

setFinishPosting

protected void setFinishPosting(Object o)
Specified by:
setFinishPosting in class ListenerCollection

setStartPosting

protected boolean setStartPosting(Object o)
Specified by:
setStartPosting in class ListenerCollection

Protege 3.3.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.