ui.Map.widgets
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลรายการวิดเจ็ตที่อยู่ในแผงในปัจจุบัน
การใช้งาน | การคืนสินค้า |
---|
Map.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\u003eMap.widgets()\u003c/code\u003e retrieves a list of widgets currently displayed within the panel.\u003c/p\u003e\n"],["\u003cp\u003eIt returns this list as a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e object, allowing for further manipulation and interaction.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality is called on a \u003ccode\u003eui.Panel\u003c/code\u003e instance, offering control over a specific panel's contents.\u003c/p\u003e\n"]]],[],null,["# ui.Map.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| Map.widgets`()` | ui.data.ActiveList\\\u003cui.Widget\\\u003e |\n\n| Argument | Type | Details |\n|------------------|----------|------------------------|\n| this: `ui.panel` | ui.Panel | The ui.Panel instance. |"]]