お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ui.Panel
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
他のウィジェットを保持できるウィジェット。パネルを使用して、ネストされたウィジェットの複雑な組み合わせを構築します。
パネルは ui.root に追加できますが、print() でコンソールに出力することはできません。
用途 | 戻り値 |
---|
ui.Panel(widgets, layout, style) | ui.Panel |
引数 | タイプ | 詳細 |
---|
widgets | List<ui.Widget>|ui.Widget、省略可 | パネルに追加するウィジェットのリストまたは単一のウィジェット。デフォルトは空の配列です。 |
layout | String|ui.Panel.Layout、省略可 | このパネルに使用するレイアウト。文字列が渡された場合は、その名前のレイアウト コンストラクタへのショートカットとして扱われます。デフォルトは「flow」です。 |
style | オブジェクト、省略可 | このウィジェットに設定する値を含む、許可された CSS スタイルのオブジェクト。style() のドキュメントをご覧ください。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 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. |"]]