edu.stanford.smi.protege.util
Class ListenerList
java.lang.Object
edu.stanford.smi.protege.util.ListenerCollection
edu.stanford.smi.protege.util.ListenerList
public class ListenerList
- extends ListenerCollection
Maintains a list of listeners to a particular source.
- Author:
- Ray Fergerson
ListenerList
public ListenerList(EventDispatcher dispatcher)
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
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.