Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ui.Select.getValue
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan nilai yang saat ini dipilih.
Penggunaan | Hasil |
---|
Select.getValue() | String |
Argumen | Jenis | Detail |
---|
ini: ui.select | ui.Select | Instance ui.Select. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eSelect.getValue()\u003c/code\u003e returns the currently selected value as a string from a \u003ccode\u003eui.Select\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThis method takes one argument, the \u003ccode\u003eui.Select\u003c/code\u003e instance itself, and is used to retrieve the user's selection.\u003c/p\u003e\n"]]],["The `Select.getValue()` method retrieves the currently selected value from a `ui.Select` instance. It takes the `ui.Select` instance as an argument (referred to as `this`) and returns the selected value as a String. No other arguments are required. The method provides a way to programmatically access the user's choice from the select element.\n"],null,["# ui.Select.getValue\n\n\u003cbr /\u003e\n\nReturns the currently selected value.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------|---------|\n| Select.getValue`()` | String |\n\n| Argument | Type | Details |\n|-------------------|-----------|-------------------------|\n| this: `ui.select` | ui.Select | The ui.Select instance. |"]]