Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
ui.root.remove
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Rimuove il widget specificato dal pannello principale, se esiste.
Restituisce il widget rimosso o null se il widget non era presente nel pannello principale.
Utilizzo | Resi |
---|
ui.root.remove(widget) | Oggetto |
Argomento | Tipo | Dettagli |
---|
widget | ui.Widget | Il widget da rimuovere. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eRemoves the specified widget from the UI's root panel.\u003c/p\u003e\n"],["\u003cp\u003eReturns the removed widget, or null if it wasn't found.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eui.root.remove(widget)\u003c/code\u003e function where \u003ccode\u003ewidget\u003c/code\u003e is the target ui.Widget.\u003c/p\u003e\n"]]],["The `ui.root.remove(widget)` function removes a specified widget from the root panel. It accepts a single argument, `widget`, of type `ui.Widget`, which represents the widget to be removed. The function returns the removed widget if it was present in the root panel; otherwise, it returns `null`. The return type of this function is Object.\n"],null,["# ui.root.remove\n\n\u003cbr /\u003e\n\nRemoves the given widget from the root panel, if it exists.\n\n\u003cbr /\u003e\n\nReturns the removed widget or null if the widget was not present in the root panel.\n\n| Usage | Returns |\n|--------------------------|---------|\n| `ui.root.remove(widget)` | Object |\n\n| Argument | Type | Details |\n|----------|-----------|-----------------------|\n| `widget` | ui.Widget | The widget to remove. |"]]