Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.views
Class HistoryDisplay

java.lang.Object
  extended by ScrolledComposite
      extended by ch.elexis.views.HistoryDisplay
All Implemented Interfaces:
BackgroundJob.BackgroundJobListener, ElexisEventListener

public class HistoryDisplay
extends ScrolledComposite
implements BackgroundJob.BackgroundJobListener, ElexisEventListener

Anzeige der vergangenen Konsultationen. Es sollen einerseits "sofort" die letzten 3 oder 4 Kons angezeigt werden, andererseits aber je nach Anforderung auch frühere nachgeladen werden. Dies ist noch nicht korrekt implemetiert - aktuell werden immer alle Kons. geladen.

Author:
Gerry

Constructor Summary
HistoryDisplay(Composite parent, IViewSite site)
           
HistoryDisplay(Composite parent, IViewSite site, boolean multiline)
           
 
Method Summary
 void catchElexisEvent(ElexisEvent ev)
          An Event was fired
 void dispose()
           
 ElexisEvent getElexisEventFilter()
          Filter the events this listener wants to be informed.
 void jobFinished(BackgroundJob j)
           
 void load(Fall fall, boolean clear)
           
 void load(Patient pat)
           
 void setFilter(KonsFilter f)
           
 void start()
           
 void start(KonsFilter f)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryDisplay

public HistoryDisplay(Composite parent,
                      IViewSite site)

HistoryDisplay

public HistoryDisplay(Composite parent,
                      IViewSite site,
                      boolean multiline)
Method Detail

dispose

public void dispose()

setFilter

public void setFilter(KonsFilter f)

start

public void start()

start

public void start(KonsFilter f)

stop

public void stop()

load

public void load(Fall fall,
                 boolean clear)

load

public void load(Patient pat)

jobFinished

public void jobFinished(BackgroundJob j)
Specified by:
jobFinished in interface BackgroundJob.BackgroundJobListener

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

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis