ui.Checkbox.setLabel
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
برچسب چک باکس را تنظیم می کند.
این چک باکس را برمی گرداند.
استفاده | برمی گرداند | Checkbox. setLabel (value) | ui.Checkbox |
استدلال | تایپ کنید | جزئیات | این: ui.checkbox | ui.Checkbox | نمونه ui.Checkbox. |
value | رشته | برچسب جدید برای چک باکس. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eCheckbox.setLabel()\u003c/code\u003e allows you to set the label displayed next to a checkbox.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts the new label as a string argument and applies it to the specified \u003ccode\u003eui.Checkbox\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eCheckbox.setLabel()\u003c/code\u003e returns the \u003ccode\u003eui.Checkbox\u003c/code\u003e instance, enabling method chaining.\u003c/p\u003e\n"]]],[],null,["# ui.Checkbox.setLabel\n\n\u003cbr /\u003e\n\nSets the checkbox's label.\n\n\u003cbr /\u003e\n\nReturns this checkbox.\n\n| Usage | Returns |\n|----------------------------|-------------|\n| Checkbox.setLabel`(value)` | ui.Checkbox |\n\n| Argument | Type | Details |\n|---------------------|-------------|---------------------------------|\n| this: `ui.checkbox` | ui.Checkbox | The ui.Checkbox instance. |\n| `value` | String | The new label for the checkbox. |"]]