ui.Label.setValue
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרת הערך של התווית.
הפונקציה מחזירה את התווית הזו.
שימוש | החזרות |
---|
Label.setValue(value) | ui.Label |
ארגומנט | סוג | פרטים |
---|
זה: ui.label | ui.Label | מופע ui.Label. |
value | מחרוזת | הערך של התווית. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eSets the value of the label using \u003ccode\u003eLabel.setValue(value)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eReturns the \u003ccode\u003eui.Label\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eAccepts a string \u003ccode\u003evalue\u003c/code\u003e to display on the label.\u003c/p\u003e\n"]]],[],null,["# ui.Label.setValue\n\n\u003cbr /\u003e\n\nSets the value of the label.\n\n\u003cbr /\u003e\n\nReturns this label.\n\n| Usage | Returns |\n|-------------------------|----------|\n| Label.setValue`(value)` | ui.Label |\n\n| Argument | Type | Details |\n|------------------|----------|-------------------------|\n| this: `ui.label` | ui.Label | The ui.Label instance. |\n| `value` | String | The value of the label. |"]]