Protege-2000 1.7

edu.stanford.smi.protege.util
Class ListenerMap

java.lang.Object
  |
  +--edu.stanford.smi.protege.util.ListenerCollection
        |
        +--edu.stanford.smi.protege.util.ListenerMap

public class ListenerMap
extends ListenerCollection

Description of the class

Author:
Ray Fergerson

Constructor Summary
ListenerMap(EventDispatcher d)
           
 
Method Summary
 Collection getListeners(Object o)
           
 Collection getSources()
           
 boolean hasListeners(Object source)
           
protected  boolean isPosting(Object o)
           
 void remove(Object source, EventListener listener)
           
 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, isPostingEnabled, postEvent, postEvent, postEvent, postEvent, setPostingEnabled, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListenerMap

public ListenerMap(EventDispatcher d)
Method Detail

getListeners

public Collection getListeners(Object o)
Overrides:
getListeners in class ListenerCollection

getSources

public Collection getSources()
Overrides:
getSources in class ListenerCollection

hasListeners

public boolean hasListeners(Object source)
Overrides:
hasListeners in class ListenerCollection

isPosting

protected boolean isPosting(Object o)
Overrides:
isPosting in class ListenerCollection

remove

public void remove(Object source,
                   EventListener listener)
Overrides:
remove in class ListenerCollection

removeAllListeners

public void removeAllListeners(Object source)
Overrides:
removeAllListeners in class ListenerCollection

saveListeners

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

setFinishPosting

protected void setFinishPosting(Object o)
Overrides:
setFinishPosting in class ListenerCollection

setStartPosting

protected boolean setStartPosting(Object o)
Overrides:
setStartPosting in class ListenerCollection

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.