Klasse FWTableFormComponent

Alle implementierten Schnittstellen:
ImageObserver, MenuContainer, Serializable, Accessible, FWObserver

public class FWTableFormComponent extends FWAbstractFormComponent
This component allows to lay out form components in a table-like fashion.
Autor:
ckunze
Siehe auch:
  • Konstruktordetails

    • FWTableFormComponent

      public FWTableFormComponent(String aFormId, org.jdom2.Element aFormElement, FWObservable aObservable, int aDetachability)
      Creates an empty Table form component.
      Parameter:
      aFormId -
      aFormElement -
      aObservable -
      aDetachability -
      aFieldID -
  • Methodendetails

    • addRow

      public void addRow(String aId)
    • addCell

      public void addCell(String aId, List<Component> aComponents)
    • getPreferredSize

      public Dimension getPreferredSize()
      Setzt außer Kraft:
      getPreferredSize in Klasse FWAbstractFormComponent
    • getMaximumSize

      public Dimension getMaximumSize()
      Setzt außer Kraft:
      getMaximumSize in Klasse FWAbstractFormComponent
    • getMinimumSize

      public Dimension getMinimumSize()
      Setzt außer Kraft:
      getMinimumSize in Klasse JComponent
    • getLocaleValue

      protected String getLocaleValue(String aKey)
      This method retrieves the corresponding localozed string to aKey. If aKey is empty ("" or null), an empty string is returned. Furthermore, the special placeholders ${ROWINDEX} and ${COLINDEX} are replaced with the cell's column and its row respectively. These placeholders may occur in the parameter aKey or in the localized String that belongs to it.
      Setzt außer Kraft:
      getLocaleValue in Klasse FWAbstractFormComponent
      Parameter:
      aKey -
      Gibt zurück:
    • getValue

      public Object getValue()
      This method always returns null since there is no internal value associated with a FWTableFormComponent
      Angegeben von:
      getValue in Klasse FWAbstractFormComponent
      Gibt zurück:
      value of the implemented component
    • setValue

      public void setValue(Object value)
      This method does nothing since there is no internal value associated with a FWTableFormComponent.
      Angegeben von:
      setValue in Klasse FWAbstractFormComponent
      Parameter:
      value - of the implemented component
    • processFormFiller

      public void processFormFiller()
      This method does nothing. Form fillers are not supported for FWTableFormComponents.
      Angegeben von:
      processFormFiller in Klasse FWAbstractFormComponent
    • exportData

      protected void exportData()
      Allows to export the table to xls
      Setzt außer Kraft:
      exportData in Klasse FWAbstractFormComponent
    • getValueCell

      protected com.lowagie.text.Rectangle getValueCell(int aType)
      Beschreibung aus Klasse kopiert: FWAbstractFormComponent
      returns the value label to use for generating rtf, pdf or html version of the form
      Angegeben von:
      getValueCell in Klasse FWAbstractFormComponent
      Parameter:
      aType -
      Gibt zurück:
      iText Cell