Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.SplitPanel.setOrientation
Stay organized with collections
Save and categorize content based on your preferences.
Sets the panel's orientation; one of "horizontal" or "vertical".
Returns this split panel.
Usage | Returns | SplitPanel.setOrientation(orientation) | ui.SplitPanel |
Argument | Type | Details | this: ui.splitpanel | ui.SplitPanel | The ui.SplitPanel instance. |
orientation | String | The new orientation. |
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\u003eThe \u003ccode\u003esetOrientation\u003c/code\u003e method allows you to control the layout of a SplitPanel, arranging its elements either horizontally or vertically.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eSplitPanel.setOrientation(orientation)\u003c/code\u003e returns the modified ui.SplitPanel object, enabling method chaining in your code.\u003c/p\u003e\n"],["\u003cp\u003eThis method requires a SplitPanel instance and a string argument representing the desired orientation ("horizontal" or "vertical").\u003c/p\u003e\n"]]],[],null,["# ui.SplitPanel.setOrientation\n\n\u003cbr /\u003e\n\nSets the panel's orientation; one of \"horizontal\" or \"vertical\".\n\n\u003cbr /\u003e\n\nReturns this split panel.\n\n| Usage | Returns |\n|------------------------------------------|---------------|\n| SplitPanel.setOrientation`(orientation)` | ui.SplitPanel |\n\n| Argument | Type | Details |\n|-----------------------|---------------|-----------------------------|\n| this: `ui.splitpanel` | ui.SplitPanel | The ui.SplitPanel instance. |\n| `orientation` | String | The new orientation. |"]]