Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
ui.Panel
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Es un widget que puede contener otros widgets. Usa paneles para crear combinaciones complejas de widgets anidados.
Los paneles se pueden agregar a ui.root, pero no se pueden imprimir en la consola con print().
Uso | Muestra |
---|
ui.Panel(widgets, layout, style) | ui.Panel |
Argumento | Tipo | Detalles |
---|
widgets | List<ui.Widget>|ui.Widget, opcional | Es la lista de widgets o un solo widget que se agregará al panel. El valor predeterminado es un array vacío. |
layout | String|ui.Panel.Layout, opcional | Diseño que se usará para este panel. Si se pasa una cadena, se toma como un acceso directo al constructor de diseño con ese nombre. El valor predeterminado es “flow”. |
style | Objeto, opcional | Objeto de los estilos CSS permitidos con sus valores que se establecerán para este widget. Consulta la documentación de style(). |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003ePanels are widgets that can contain other widgets, enabling complex nested layouts within Earth Engine applications.\u003c/p\u003e\n"],["\u003cp\u003eThey are added to the \u003ccode\u003eui.root\u003c/code\u003e but cannot be printed to the console using \u003ccode\u003eprint()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003ePanel layouts can be customized using predefined options or by specifying CSS styles.\u003c/p\u003e\n"],["\u003cp\u003eInitialization involves providing a list of widgets (or a single widget), a layout type, and optional styling.\u003c/p\u003e\n"]]],["Panels, which are widgets that can contain other widgets, are created using `ui.Panel()`. They accept an optional list of `widgets`, a `layout` (defaulting to 'flow'), and a `style` object for CSS styling. Panels can be added to `ui.root` but cannot be printed using `print()`. The `layout` argument can be a string representing a shortcut to a layout constructor. Panels facilitate the construction of complex, nested widget structures.\n"],null,["# ui.Panel\n\n\u003cbr /\u003e\n\nA widget that can hold other widgets. Use panels to construct complex combinations of nested widgets.\n\n\u003cbr /\u003e\n\nPanels can be added to ui.root but not printed to the console with print().\n\n| Usage | Returns |\n|--------------------------------------------------|----------|\n| `ui.Panel(`*widgets* `, `*layout* `, `*style*`)` | ui.Panel |\n\n| Argument | Type | Details |\n|-----------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `widgets` | List\\\u003cui.Widget\\\u003e\\|ui.Widget, optional | The list of widgets or a single widget to add to the panel. Defaults to an empty array. |\n| `layout` | String\\|ui.Panel.Layout, optional | The layout to use for this panel. If a string is passed in, it's taken as a shortcut to the layout constructor with that name. Defaults to 'flow'. |\n| `style` | Object, optional | An object of allowed CSS styles with their values to be set for this widget. See style() documentation. |"]]