Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
ui.Checkbox.setDisabled
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Onay kutusunun devre dışı olup olmadığını belirler.
Bu onay kutusunu döndürür.
Kullanım | İadeler |
---|
Checkbox.setDisabled(disabled) | ui.Checkbox |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
bu: ui.checkbox | ui.Checkbox | ui.Checkbox örneği. |
disabled | Boole | Onay kutusunun devre dışı olup olmadığı. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003esetDisabled\u003c/code\u003e method allows you to enable or disable a checkbox element.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts a boolean value (\u003ccode\u003edisabled\u003c/code\u003e) indicating whether the checkbox should be disabled.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003esetDisabled\u003c/code\u003e returns the \u003ccode\u003eui.Checkbox\u003c/code\u003e instance, enabling method chaining.\u003c/p\u003e\n"]]],["The `Checkbox.setDisabled(disabled)` method sets the disabled state of a checkbox. It accepts a boolean argument, `disabled`, which determines if the checkbox is enabled or disabled. The method modifies the `ui.Checkbox` instance it's called on and returns the same `ui.Checkbox` instance. The `this` keyword in this method refers to the `ui.Checkbox` instance.\n"],null,["# ui.Checkbox.setDisabled\n\n\u003cbr /\u003e\n\nSets whether the checkbox is disabled.\n\n\u003cbr /\u003e\n\nReturns this checkbox.\n\n| Usage | Returns |\n|----------------------------------|-------------|\n| Checkbox.setDisabled`(disabled)` | ui.Checkbox |\n\n| Argument | Type | Details |\n|---------------------|-------------|-----------------------------------|\n| this: `ui.checkbox` | ui.Checkbox | The ui.Checkbox instance. |\n| `disabled` | Boolean | Whether the checkbox is disabled. |"]]