Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > FieldImage > doValueUpdate_
Metoda FieldImage.doValueUpdate_()
Zaktualizuj wartość w tym polu obrazu i zaktualizuj wyświetlany obraz.
Podpis:
protected doValueUpdate_(newValue: string): void;
Parametry
| Parametr |
Typ |
Opis |
| newValue |
ciąg znaków |
Wartość do zapisania. Domyślny walidator gwarantuje, że jest to ciąg znaków. |
Zwroty:
nieważne
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-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `doValueUpdate_` method, part of the `FieldImage` class, updates an image field's value and the displayed image. It accepts a string `newValue` as a parameter, which represents the new value to be saved. The method's default validator ensures the `newValue` is a string. The method's return type is void, meaning it does not return a value after updating.\n"]]