ui.SplitPanel.getPanel
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."],[[["`SplitPanel.getPanel()` allows you to access a specific panel within a `ui.SplitPanel` instance."],["It takes an index argument (0 or 1) to identify the desired panel: 0 representing the top/left and 1 representing the bottom/right."],["The function returns the requested panel as a `ui.Panel` object, enabling further manipulation."]]],[]]