Anúncio: todos os projetos não comerciais registrados para usar o Earth Engine antes de
15 de abril de 2025 precisam
verificar a qualificação não comercial para manter o acesso ao Earth Engine.
ui.Panel.clear
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Remove todos os widgets do painel.
Retorna este painel.
Uso | Retorna |
---|
Panel.clear() | ui.Panel |
Argumento | Tipo | Detalhes |
---|
isso: ui.panel | ui.Panel | A instância ui.Panel. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003ePanel.clear()\u003c/code\u003e removes all widgets from the specified panel.\u003c/p\u003e\n"],["\u003cp\u003eThis method returns the ui.Panel object, allowing for method chaining.\u003c/p\u003e\n"],["\u003cp\u003eIt is used to reset the panel to its initial state, effectively removing existing UI elements.\u003c/p\u003e\n"]]],["The `Panel.clear()` method removes all widgets from a specified `ui.Panel` instance. This method directly modifies the panel by clearing its content. It takes a `ui.Panel` instance as input and returns the same `ui.Panel` object after the widgets have been removed. No arguments beside the panel itself are required. This method's primary action is to empty the panel of all widgets.\n"],null,["# ui.Panel.clear\n\n\u003cbr /\u003e\n\nRemoves all widgets from the panel.\n\n\u003cbr /\u003e\n\nReturns this panel.\n\n| Usage | Returns |\n|-----------------|----------|\n| Panel.clear`()` | ui.Panel |\n\n| Argument | Type | Details |\n|------------------|----------|------------------------|\n| this: `ui.panel` | ui.Panel | The ui.Panel instance. |"]]