ui.SplitPanel.setFirstPanel
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลแผงที่แยกนี้
การใช้งาน | การคืนสินค้า |
---|
SplitPanel.setFirstPanel(panel) | ui.SplitPanel |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.splitpanel | ui.SplitPanel | อินสแตนซ์ ui.SplitPanel |
panel | ui.Panel | แผงที่จะแสดงทางด้านซ้ายหรือด้านบนของส่วนที่แยก |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 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. |"]]