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 | ऑब्जेक्ट, ज़रूरी नहीं | इस विजेट के लिए सेट की जाने वाली वैल्यू के साथ, इस्तेमाल की जा सकने वाली सीएसएस स्टाइल का ऑब्जेक्ट. style() का दस्तावेज़ देखें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]