ui.Checkbox.setLabel
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרת התווית של תיבת הסימון.
מחזירה את תיבת הסימון הזו.
שימוש | החזרות |
---|
Checkbox.setLabel(value) | ui.Checkbox |
ארגומנט | סוג | פרטים |
---|
זה: ui.checkbox | ui.Checkbox | המופע ui.Checkbox. |
value | מחרוזת | התווית החדשה של תיבת הסימון. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\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. |"]]