ui.Panel.widgets
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลรายการวิดเจ็ตที่อยู่ในแผงในปัจจุบัน
การใช้งาน | การคืนสินค้า |
---|
Panel.widgets() | ui.data.ActiveList<ui.Widget> |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.panel | ui.Panel | อินสแตนซ์ ui.Panel |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003e\u003ccode\u003ePanel.widgets()\u003c/code\u003e retrieves a list of widgets within the panel.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns an \u003ccode\u003eui.data.ActiveList\u003c/code\u003e representing the active widgets.\u003c/p\u003e\n"],["\u003cp\u003eIt's used with a \u003ccode\u003eui.Panel\u003c/code\u003e instance to access its widgets.\u003c/p\u003e\n"]]],[],null,["# ui.Panel.widgets\n\n\u003cbr /\u003e\n\nReturns the list of widgets currently in the panel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------------------------------|\n| Panel.widgets`()` | ui.data.ActiveList\\\u003cui.Widget\\\u003e |\n\n| Argument | Type | Details |\n|------------------|----------|------------------------|\n| this: `ui.panel` | ui.Panel | The ui.Panel instance. |"]]