ui.SplitPanel.setFirstPanel
Returns this split panel.
Usage | Returns |
---|
SplitPanel.setFirstPanel(panel) | ui.SplitPanel |
Argument | Type | Details |
---|
this: ui.splitpanel | ui.SplitPanel | The ui.SplitPanel instance. |
panel | ui.Panel | The panel to display left or on top of the split. |
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."],[[["The `SplitPanel.setFirstPanel()` method allows you to set the panel that appears first (left or top) within a `ui.SplitPanel`."],["This method accepts a `ui.Panel` as an argument, representing the panel to be displayed first, and returns the updated `ui.SplitPanel` instance."]]],["The `SplitPanel.setFirstPanel(panel)` method is used to set the first panel within a `ui.SplitPanel` instance. This method accepts one argument, `panel`, of type `ui.Panel`. The `panel` argument specifies the panel that will be displayed either on the left or at the top of the split view. The method returns the `ui.SplitPanel` instance itself.\n"]]