ch.elexis.util
Class LabeledInputField.AutoForm
java.lang.Object
Composite
ch.elexis.util.LabeledInputField.Tableau
ch.elexis.util.LabeledInputField.AutoForm
- Enclosing class:
- LabeledInputField
public static class LabeledInputField.AutoForm
- extends LabeledInputField.Tableau
Create an automatocally maintained form out of an array of InpuData[]. Usage: InputData[]
id=new InputData[]{ // ... }; TableWrapLayout twl=new TableWrapLayout(); setLayout(twl);
AutoForm af=new LabeledInputField.AutoForm(parent,id)); TableWrapData twd=new
TableWrapData(TableWrapData.FILL_GRAB); twd.grabHorizontal=true; af.setLayoutData(twd);
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabeledInputField.AutoForm
public LabeledInputField.AutoForm(Composite parent,
LabeledInputField.InputData[] fields)
LabeledInputField.AutoForm
public LabeledInputField.AutoForm(Composite parent,
LabeledInputField.InputData[] fields,
int minColumns,
int maxColumns)
reload
public void reload(PersistentObject o)
- Angezeigte Daten aus DB neu laden
- Parameters:
o
- Das Objekt aus dem Daten geladen werden
Copyright 2005-2011 by Gerry Weirich, Elexis