public class ActivitiEventSupport extends Object
Modifier and Type | Field and Description |
---|---|
protected List<ActivitiEventListener> |
eventListeners |
protected Map<ActivitiEventType,List<ActivitiEventListener>> |
typedListeners |
Constructor and Description |
---|
ActivitiEventSupport() |
Modifier and Type | Method and Description |
---|---|
void |
addEventListener(ActivitiEventListener listenerToAdd) |
void |
addEventListener(ActivitiEventListener listenerToAdd,
ActivitiEventType... types) |
protected void |
addTypedEventListener(ActivitiEventListener listener,
ActivitiEventType type) |
void |
dispatchEvent(ActivitiEvent event) |
protected void |
dispatchEvent(ActivitiEvent event,
ActivitiEventListener listener) |
void |
removeEventListener(ActivitiEventListener listenerToRemove) |
protected List<ActivitiEventListener> eventListeners
protected Map<ActivitiEventType,List<ActivitiEventListener>> typedListeners
public void addEventListener(ActivitiEventListener listenerToAdd)
public void addEventListener(ActivitiEventListener listenerToAdd, ActivitiEventType... types)
public void removeEventListener(ActivitiEventListener listenerToRemove)
public void dispatchEvent(ActivitiEvent event)
protected void dispatchEvent(ActivitiEvent event, ActivitiEventListener listener)
protected void addTypedEventListener(ActivitiEventListener listener, ActivitiEventType type)
Copyright © 2017 Alfresco. All rights reserved.