Interface DataComponent

All Superinterfaces:
Cloneable, Component
All Known Subinterfaces:
AddressField, CodeField, Description, Display, Field, FulltextSearch, GeosearchField, HtmlField, LocationField, RangeField, RelationField, RemoteField, SearchFilter, SelectBox, TermsComponent
All Known Implementing Classes:
AddressFieldImpl, CodeFieldImpl, DescriptionImpl, DisplayImpl, FieldImpl, FulltextSearchImpl, GeosearchFieldImpl, HtmlFieldImpl, LocationFieldImpl, RangeFieldImpl, RelationFieldImpl, RemoteFieldImpl, SearchFilterImpl, SelectBoxImpl, TermsComponentImpl

public interface DataComponent extends Component
Interface for components which are actually displaying data in a column or field set. They must provide a default label if none is specified.
  • Method Details

    • getDefaultLabel

      String getDefaultLabel(Form form, TextResources textResources)
      Return the default label for this component. This will be used when no label is specified explicitly in the form.