Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.util
Class LabeledInputField

java.lang.Object
  extended by Composite
      extended by ch.elexis.util.LabeledInputField

public class LabeledInputField
extends Composite

Ein Ein/Ausgabeelement, das aus einem Kästchen mit darin einem Label und darunter einem Control zur Eingabe besteht. Eignet sich besonders zur Verwendung in einem ColumnLayout.

Author:
Gerry

Nested Class Summary
static class LabeledInputField.AutoForm
          Create an automatocally maintained form out of an array of InpuData[].
static interface LabeledInputField.IContentProvider
           
static class LabeledInputField.InputData
           
static class LabeledInputField.Tableau
           
static class LabeledInputField.Typ
           
 
Constructor Summary
LabeledInputField(Composite parent, java.lang.String label)
           
LabeledInputField(Composite parent, java.lang.String label, LabeledInputField.Typ typ)
           
 
Method Summary
 Control getControl()
           
 java.lang.String getLabel()
           
 Label getLabelComponent()
           
 java.lang.String getText()
           
 void setLabel(java.lang.String text)
           
 void setText(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabeledInputField

public LabeledInputField(Composite parent,
                         java.lang.String label)

LabeledInputField

public LabeledInputField(Composite parent,
                         java.lang.String label,
                         LabeledInputField.Typ typ)
Method Detail

setText

public void setText(java.lang.String text)

getText

public java.lang.String getText()

setLabel

public void setLabel(java.lang.String text)

getLabel

public java.lang.String getLabel()

getLabelComponent

public Label getLabelComponent()

getControl

public Control getControl()

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis