Elexis API documentation
Version 2.1.6 as of December 11 2011

waelti.statistics.views
Class OptionPanel

java.lang.Object
  extended by Composite
      extended by waelti.statistics.views.OptionPanel

public class OptionPanel
extends Composite

View of the meta model. All label - text field pairs are obtained by reflecting on the given AbtractQuery object. At the moment, all query classes are represented in a map containing an object of each query class. Might be changed in the future and done by reflecting on the whole query package.

Author:
michael waelti
See Also:
SetProperty, GetProperty, AbstractQuery

Constructor Summary
OptionPanel(Composite parent)
          Standard constructor.
OptionPanel(Composite parent, Color background)
           
 
Method Summary
 AbstractQuery getQuery()
          Reads all fields, sets them via the meta model and returns the configured query.
 void updateContent(AbstractQuery selectedQuery)
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionPanel

public OptionPanel(Composite parent)
Standard constructor.


OptionPanel

public OptionPanel(Composite parent,
                   Color background)
Method Detail

updateContent

public void updateContent(AbstractQuery selectedQuery)


getQuery

public AbstractQuery getQuery()
                       throws SetDataException
Reads all fields, sets them via the meta model and returns the configured query.

Throws:
SetDataException

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis