setLabel

setWidget

Sets the widget to use for this fields's contained component. This widget must support this inclusion context and be compatible with the form. For a listing of supported widgets, see the FormOptions.getAvailableWidgets(form) api.