ui.Label.getValue
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca wartość etykiety.
Wykorzystanie | Zwroty |
---|
Label.getValue() | Ciąg znaków |
Argument | Typ | Szczegóły |
---|
to: ui.label | ui.Label | Instancja ui.Label. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egetValue()\u003c/code\u003e method retrieves the text content of a \u003ccode\u003eui.Label\u003c/code\u003e element.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts the \u003ccode\u003eui.Label\u003c/code\u003e instance as an argument and returns the label's value as a string.\u003c/p\u003e\n"]]],[],null,["# ui.Label.getValue\n\n\u003cbr /\u003e\n\nReturns the value of the label.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| Label.getValue`()` | String |\n\n| Argument | Type | Details |\n|------------------|----------|------------------------|\n| this: `ui.label` | ui.Label | The ui.Label instance. |"]]