ui.SplitPanel.setFirstPanel
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह स्प्लिट पैनल दिखाता है.
इस्तेमाल | रिटर्न |
---|
SplitPanel.setFirstPanel(panel) | ui.SplitPanel |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.splitpanel | ui.SplitPanel | ui.SplitPanel इंस्टेंस. |
panel | ui.Panel | स्प्लिट के बाईं ओर या ऊपर की ओर दिखाने के लिए पैनल. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe \u003ccode\u003eSplitPanel.setFirstPanel()\u003c/code\u003e method allows you to set the panel that appears first (left or top) within a \u003ccode\u003eui.SplitPanel\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts a \u003ccode\u003eui.Panel\u003c/code\u003e as an argument, representing the panel to be displayed first, and returns the updated \u003ccode\u003eui.SplitPanel\u003c/code\u003e instance.\u003c/p\u003e\n"]]],["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"],null,["# ui.SplitPanel.setFirstPanel\n\n\u003cbr /\u003e\n\nReturns this split panel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------|---------------|\n| SplitPanel.setFirstPanel`(panel)` | ui.SplitPanel |\n\n| Argument | Type | Details |\n|-----------------------|---------------|---------------------------------------------------|\n| this: `ui.splitpanel` | ui.SplitPanel | The ui.SplitPanel instance. |\n| `panel` | ui.Panel | The panel to display left or on top of the split. |"]]