Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

com.hilotec.elexis.kgview
Class POSelectionListener<P extends PersistentObject>

java.lang.Object
  extended by com.hilotec.elexis.kgview.POSelectionListener<P>
All Implemented Interfaces:
ElexisEventListener

public abstract class POSelectionListener<P extends PersistentObject>
extends java.lang.Object
implements ElexisEventListener

Helper-Klasse fuer Code der auf dem Laufenden bleiben muss bezueglich eines aktuell ausgewaehlten PersistentObjects.


Constructor Summary
POSelectionListener()
           
 
Method Summary
 void catchElexisEvent(ElexisEvent ev)
          An Event was fired
protected  void deselected(P po)
          Wird aufgerufen wenn das aktuelle PersistentObject nicht mehr ausgewaehlt ist.
 void destroy()
          Deakitviert den Listener
 ElexisEvent getElexisEventFilter()
          Filter the events this listener wants to be informed.
 void init()
          Initialisiert den Listener
protected  void selected(P po)
          Wird aufgerufen wenn ein neues PersistentObject ausgewaehlt wurde.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POSelectionListener

public POSelectionListener()
Method Detail

init

public void init()
Initialisiert den Listener


destroy

public void destroy()
Deakitviert den Listener


catchElexisEvent

public void catchElexisEvent(ElexisEvent ev)
Description copied from interface: ElexisEventListener
An Event was fired

Specified by:
catchElexisEvent in interface ElexisEventListener
Parameters:
ev - the Event

getElexisEventFilter

public ElexisEvent getElexisEventFilter()
Description copied from interface: ElexisEventListener
Filter the events this listener wants to be informed. Note: This call should complete as fast as possible, because it will be called with every event before dispatching

Specified by:
getElexisEventFilter in interface ElexisEventListener
Returns:
An ElexisEvent with matching
  • object: Only events of this object will be sent
  • class: Only events of this class will be sent
  • type: Only eevnts matching to one ore more flags in type will be sent

deselected

protected void deselected(P po)
Wird aufgerufen wenn das aktuelle PersistentObject nicht mehr ausgewaehlt ist. Wird im GUI Thread gestartet.


selected

protected void selected(P po)
Wird aufgerufen wenn ein neues PersistentObject ausgewaehlt wurde. Wird im GUI Thread gestartet.


Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013