Interface FormField


public interface FormField
Interface for form fields. FormType.fieldList(int...) can be used to get a list of the fields of a form.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Non-database field.
    static final int
    Database field.
    static final int
    Field value.
    static final int
    Subform table.
  • Method Summary

    Modifier and Type
    Method
    Description
    For database fields and field values the column name is returned.
    Returns the description of the field.
    Returns the label of the field.
    Return the size of number and string fields.
    int
    The position of the field in table view. -1 means the field is not shown in table view.
    int
    Returns the type of the field.
    Returns the value for field values, the subform-id for subform tables.
    Returns the defined type of the field, applicable for database fields.
    boolean
    Returns true, if the field is a DATABASE_FIELD.
  • Field Details

  • Method Details

    • getXmlType

      String getXmlType()
      Returns the defined type of the field, applicable for database fields.
    • getTabPos

      int getTabPos()
      The position of the field in table view. -1 means the field is not shown in table view.
    • getColumnName

      String getColumnName()
      For database fields and field values the column name is returned. For non-database fields, this is the id of the field. For table fields, the classname of the subform is returned.
    • getType

      int getType()
      Returns the type of the field. One of DATABASE_FIELD,FIELD_VALUE,TABLE or BLOCK. Note, that in previous versions, several other values have been used.
    • getLabel

      String getLabel()
      Returns the label of the field.
    • getSize

      String getSize()
      Return the size of number and string fields.
    • getValue

      String getValue()
      Returns the value for field values, the subform-id for subform tables.
      Returns:
    • isDbField

      boolean isDbField()
      Returns true, if the field is a DATABASE_FIELD.
    • getDescription

      String getDescription()
      Returns the description of the field.