Skip to main content

ApiCheckboxWidget

ApiCheckboxWidget is a subclass of ApiBaseWidget.

Methods

MethodReturnsDescription
DeletebooleanRemoves widget from parent field.
GetBackgroundColorApiColorGets widget background color.
GetBorderColorApiColorGets widget border color.
GetBorderStyleWidgetBorderStyleGets widget border style.
GetBorderWidthWidgetBorderWidthGets widget border width.
GetCheckStyleCheckStyleGets widget checkbox style.
GetClassType"checkboxWidget"Returns a type of the ApiCheckboxWidget class.
GetExportValuestringGets widget export value.
GetPositionPointGets widget position.
GetRectRectSets field rect.
GetTextColorApiColorGets widget text color.
GetTextSizeptGets widget text size. 💡 Text size === 0 means autofit
IsAutoFitbooleanChecks if text is autofit.
IsCheckedbooleanChecks if checkbox widget is checked.
IsCheckedByDefaultbooleanChecks if widget is checked by default.
SetAutoFitbooleanSets text autofit.
SetBackgroundColorbooleanSets widget background color.
SetBorderColorbooleanSets widget border color.
SetBorderStylebooleanSets widget border style.
SetBorderWidthbooleanSets widget border width.
SetCheckStylebooleanSets widget checkbox style.
SetCheckedbooleanSets checkbox widget checked.
SetCheckedByDefaultbooleanSets widget checked by default.
SetExportValuebooleanSets widget export value.
SetPositionbooleanSets widget position.
SetRectbooleanSets field rect.
SetTextColorbooleanSets widget text color.
SetTextSizebooleanSets widget text size. 💡 Text size === 0 means autofit