เครื่องมือเลือกชั้นเรียน
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Picker
คือออบเจ็กต์ระดับบนสุดที่แสดงการดําเนินการของ UI กับผู้ใช้
ระบบไม่ได้สร้างออบเจ็กต์เหล่านี้โดยตรง แต่ใช้PickerBuilder
คลาสแทน
ลายเซ็น
export class Picker
รายละเอียด
เมธอด
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# Class Picker\n\n`Picker` is the top level object representing the UI action with the user.\nThese objects are not created directly, but instead use the `PickerBuilder`\nclass.\n\nSignature\n---------\n\n export class Picker\n\nDetails\n-------\n\n| Final | No |\n|-------|----|\n\nMethods\n-------\n\n| Name | Description |\n|------------------------------------------------------|------------------------------------------------------------------------------------------|\n| [`dispose()`](./picker.picker.dispose) | Disposes the `Picker` object. |\n| [`isVisible()`](./picker.picker.isvisible) | Get a boolean indicating the current `Picker` visibility. |\n| [`setCallback(method)`](./picker.picker.setcallback) | Specify the callback method called whenever the user has selected an item (or canceled.) |\n| [`setRelayUrl(url)`](./picker.picker.setrelayurl) | Specify a relay URL to circumvent cross-domain issues. |\n| [`setVisible(visible)`](./picker.picker.setvisible) | Control the visibility of the `Picker` object. |"]]