Package com.kheops.jmap.client.tools
Class EditionEventDispatcher
java.lang.Object
com.kheops.jmap.client.tools.EditionEventDispatcher
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddListener(EditionEventListener listener) Added the specified listener to the edition listeners list.voiddestroy()Clears all layer listeners managed by the dispatcher.protected final EditionEventListener[]booleanvoidremoveListener(EditionEventListener listener) Removes the specified listener from the listeners list.voidvisit(EditionEvent event) Fires the specifiedEditionEventto all layer listeners.voidvisit(FormEditionEvent event) Fires the specifiedFormEditionEventto all layer listeners.
- 
Field Details- 
listeners
 
- 
- 
Constructor Details- 
EditionEventDispatcherpublic EditionEventDispatcher()
 
- 
- 
Method Details- 
hasListenerspublic boolean hasListeners()
- 
addListenerAdded the specified listener to the edition listeners list.- Parameters:
- listener- the listener to add.
 
- 
removeListenerRemoves the specified listener from the listeners list.- Parameters:
- listener- the listener to remove.
 
- 
getListeners
- 
visitFires the specifiedEditionEventto all layer listeners.- Parameters:
- event- the event to be fired.
 
- 
visitFires the specifiedFormEditionEventto all layer listeners.- Parameters:
- event- the event to be fired.
 
- 
destroypublic void destroy()Clears all layer listeners managed by the dispatcher.
 
-