ui.Select.getDisabled
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca informację o tym, czy opcja wyboru jest wyłączona.
Wykorzystanie | Zwroty |
---|
Select.getDisabled() | Wartość logiczna |
Argument | Typ | Szczegóły |
---|
to: ui.select | ui.Select | Instancja ui.Select. |
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\u003eThis method determines if the UI select element is disabled, returning a boolean value (true if disabled, false otherwise).\u003c/p\u003e\n"],["\u003cp\u003eIt's used with the \u003ccode\u003eSelect.getDisabled()\u003c/code\u003e syntax and operates on a ui.Select instance.\u003c/p\u003e\n"]]],["The core functionality is determining the disabled state of a select element. `Select.getDisabled()` is used to achieve this. It returns a Boolean value indicating whether the select is disabled or not. The method requires a `ui.Select` instance (`this: ui.select`) as its argument, which represents the specific select element being checked. The return value directly reflects the disabled status.\n"],null,["# ui.Select.getDisabled\n\n\u003cbr /\u003e\n\nReturns whether the select is disabled.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| Select.getDisabled`()` | Boolean |\n\n| Argument | Type | Details |\n|-------------------|-----------|-------------------------|\n| this: `ui.select` | ui.Select | The ui.Select instance. |"]]