|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elexis.actions.ElexisEventListenerImpl
public class ElexisEventListenerImpl
An implementation of the most common uses of ElexisSventListeners. Subclasses must override one of catchElexisEvent (non ui thread) or runInUi (the event is forwarded in an async UI thread)
Constructor Summary | |
---|---|
ElexisEventListenerImpl(java.lang.Class<?> clazz)
|
|
ElexisEventListenerImpl(java.lang.Class<?> clazz,
int mode)
|
|
ElexisEventListenerImpl(PersistentObject obj,
java.lang.Class<?> clazz,
int mode)
|
Method Summary | |
---|---|
void |
catchElexisEvent(ElexisEvent ev)
This catches the Event from the EventDispatcher, which is in a Non-UI Thread by definition |
ElexisEvent |
getElexisEventFilter()
Filter the events this listener wants to be informed. |
boolean |
isStopped()
|
void |
runInUi(ElexisEvent ev)
This runs the event in an UI Thread |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElexisEventListenerImpl(java.lang.Class<?> clazz)
public ElexisEventListenerImpl(java.lang.Class<?> clazz, int mode)
public ElexisEventListenerImpl(PersistentObject obj, java.lang.Class<?> clazz, int mode)
Method Detail |
---|
public ElexisEvent getElexisEventFilter()
ElexisEventListener
getElexisEventFilter
in interface ElexisEventListener
public void catchElexisEvent(ElexisEvent ev)
catchElexisEvent
in interface ElexisEventListener
ev
- the Eventpublic void runInUi(ElexisEvent ev)
ev
- public void stop()
public void start()
public boolean isStopped()
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |