Enum PickerValuesLayout
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เครื่องมือเลือกค่าเลย์เอาต์
การแจกแจงวิธีแสดงค่าที่เลือกในวิดเจ็ตเครื่องมือเลือก
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
Charts.PickerValuesLayout.ASIDE
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
ASIDE | Enum | ค่าที่เลือกจะแสดงเป็นบรรทัดข้อความเดียวข้างวิดเจ็ตเครื่องมือเลือกค่า |
BELOW | Enum | ค่าที่เลือกจะแสดงเป็นบรรทัดข้อความเดียวใต้วิดเจ็ต |
BELOW_WRAPPING | Enum | คล้ายกับด้านล่าง แต่รายการที่ใส่ในเครื่องมือเลือกไม่ได้จะตัดไปบรรทัดใหม่ |
BELOW_STACKED | Enum | ค่าที่เลือกจะแสดงในคอลัมน์ใต้วิดเจ็ต |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003ePickerValuesLayout\u003c/code\u003e dictates how selected values are displayed within a picker widget.\u003c/p\u003e\n"],["\u003cp\u003eIt offers four options: \u003ccode\u003eASIDE\u003c/code\u003e, \u003ccode\u003eBELOW\u003c/code\u003e, \u003ccode\u003eBELOW_WRAPPING\u003c/code\u003e, and \u003ccode\u003eBELOW_STACKED\u003c/code\u003e, each controlling the position and layout of the selected values relative to the picker.\u003c/p\u003e\n"],["\u003cp\u003eTo use a specific layout, call it using the format \u003ccode\u003eCharts.PickerValuesLayout.[property name]\u003c/code\u003e, such as \u003ccode\u003eCharts.PickerValuesLayout.ASIDE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum PickerValuesLayout\n\nPickerValuesLayout\n\nAn enumeration of how to display selected values in picker widget.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.PickerValuesLayout.ASIDE`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------|--------|---------------------------------------------------------------------------------|\n| `ASIDE` | `Enum` | Selected values display in a single text line next to the value picker widget. |\n| `BELOW` | `Enum` | Selected values display in a single text line below the widget. |\n| `BELOW_WRAPPING` | `Enum` | Similar to below, but entries that cannot fit in the picker wrap to a new line. |\n| `BELOW_STACKED` | `Enum` | Selected values display in a column below the widget. |"]]