public class DefaultEditionEventDispatcher extends java.lang.Object implements JMapEventDispatcher
| Constructor and Description |
|---|
DefaultEditionEventDispatcher(JMapApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEditionEventListener(EditionEventListener editionEventListener) |
void |
destroy() |
void |
dispatchEditionEvent(VectorLayer vectorLayer,
K2DElement[] elements,
int editionType) |
void |
dispatchEditionEvent(VectorLayer vectorLayer,
K2DElement[] elements,
int editionType,
JMapEventDispatcher eventDispatcher) |
void |
dispatchEditionEvent(VectorLayer vectorLayer,
K2DElement element,
int editionType) |
void |
dispatchEditionEvent(VectorLayer vectorLayer,
K2DElement element,
int editionType,
JMapEventDispatcher eventDispatcher) |
void |
dispatchEvent(JMapEvent event)
The
dispatchEvent method is used to dispatch synchronously
JMap events to all registered listeners. |
void |
dispatchFormEditionEvent(VectorLayer vectorLayer,
K2DElement element,
FormEditionResult editionResult) |
void |
dispatchFormEditionEvent(VectorLayer vectorLayer,
K2DElement element,
FormEditionResult editionResult,
JMapEventDispatcher eventDispatcher) |
void |
dispatchFormEditionEvents(VectorLayer vectorLayer,
K2DElement element,
FormEditionResult[] editionResults) |
void |
dispatchFormEditionEvents(VectorLayer vectorLayer,
K2DElement element,
FormEditionResult[] editionResults,
JMapEventDispatcher eventDispatcher) |
protected EditionEventDispatcher |
initEventDispatcher() |
void |
removeEditionEventListener(EditionEventListener editionEventListener) |
public DefaultEditionEventDispatcher(JMapApplicationContext applicationContext)
protected EditionEventDispatcher initEventDispatcher()
public void addEditionEventListener(EditionEventListener editionEventListener)
public void removeEditionEventListener(EditionEventListener editionEventListener)
public void dispatchEvent(JMapEvent event)
dispatchEvent method is used to dispatch synchronously
JMap events to all registered listeners. The main use of the JMapEventDispatcher
interface is to dispatch events that were previously added to the JMap event queue.
EditionEvent will be accepted by this method. Any other
JMap event types will cause the tool to throw an exception.dispatchEvent in interface JMapEventDispatcherevent - the event to be dispatched.java.lang.IllegalArgumentException - will be thrown if the JMapEvent instance
is not an instance of the EditionEvent class.JMapEventQueue.push(JMapEvent, JMapEventDispatcher)public void dispatchEditionEvent(VectorLayer vectorLayer, K2DElement element, int editionType)
public void dispatchEditionEvent(VectorLayer vectorLayer, K2DElement[] elements, int editionType)
public void dispatchEditionEvent(VectorLayer vectorLayer, K2DElement element, int editionType, JMapEventDispatcher eventDispatcher)
public void dispatchEditionEvent(VectorLayer vectorLayer, K2DElement[] elements, int editionType, JMapEventDispatcher eventDispatcher)
public void dispatchFormEditionEvent(VectorLayer vectorLayer, K2DElement element, FormEditionResult editionResult)
public void dispatchFormEditionEvent(VectorLayer vectorLayer, K2DElement element, FormEditionResult editionResult, JMapEventDispatcher eventDispatcher)
public void dispatchFormEditionEvents(VectorLayer vectorLayer, K2DElement element, FormEditionResult[] editionResults)
public void dispatchFormEditionEvents(VectorLayer vectorLayer, K2DElement element, FormEditionResult[] editionResults, JMapEventDispatcher eventDispatcher)
public void destroy()