Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.SplitPanel.getPanel
Stay organized with collections
Save and categorize content based on your preferences.
Returns the requested panel in the split panel.
Usage | Returns | SplitPanel.getPanel(index) | ui.Panel |
Argument | Type | Details | this: ui.splitpanel | ui.SplitPanel | The ui.SplitPanel instance. |
index | Number | 0 for top or left panel, 1 for bottom or right panel. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eSplitPanel.getPanel()\u003c/code\u003e allows you to access a specific panel within a \u003ccode\u003eui.SplitPanel\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eIt takes an index argument (0 or 1) to identify the desired panel: 0 representing the top/left and 1 representing the bottom/right.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns the requested panel as a \u003ccode\u003eui.Panel\u003c/code\u003e object, enabling further manipulation.\u003c/p\u003e\n"]]],[],null,["# ui.SplitPanel.getPanel\n\n\u003cbr /\u003e\n\nReturns the requested panel in the split panel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|----------|\n| SplitPanel.getPanel`(index)` | ui.Panel |\n\n| Argument | Type | Details |\n|-----------------------|---------------|-------------------------------------------------------|\n| this: `ui.splitpanel` | ui.SplitPanel | The ui.SplitPanel instance. |\n| `index` | Number | 0 for top or left panel, 1 for bottom or right panel. |"]]