Skip to main content

ApiTextWidget

ApiTextWidget is a subclass of ApiBaseWidget.

Methods

MethodReturnsDescription
DeletebooleanRemoves widget from parent field.
GetActionsJSONJSONGets all field actions in json format.
GetBackgroundColorApiColorGets widget background color.
GetBorderColorApiColorGets widget border color.
GetBorderStyleWidgetBorderStyleGets widget border style.
GetBorderWidthWidgetBorderWidthGets widget border width.
GetClassType"textWidget"Returns a type of the ApiTextWidget class.
GetInternalIdstringReturns an internal ID of the current field widget.
GetPlaceholderstringGets text field placeholder.
GetPositionPointGets widget position.
GetRectRectSets field rect.
GetRegularExpbooleanGets the text widget regular validation expression.
GetTextColorApiColorGets widget text color.
GetTextSizeptGets widget text size.
IsAutoFitbooleanChecks if text is autofit.
SetAutoFitbooleanSets text autofit.
SetBackgroundColorbooleanSets widget background color.
SetBorderColorbooleanSets widget border color.
SetBorderStylebooleanSets widget border style.
SetBorderWidthbooleanSets widget border width.
SetPlaceholderbooleanSets text field placeholder.
SetPositionbooleanSets widget position.
SetRectbooleanSets field rect.
SetRegularExpbooleanSets the text widget regular validation expression.
SetTextColorbooleanSets widget text color.
SetTextSizebooleanSets widget text size.