انتخابگر کلاس
Picker
شی سطح بالایی است که عملکرد UI را با کاربر نشان می دهد. این اشیا مستقیما ایجاد نمی شوند، بلکه از کلاس PickerBuilder
استفاده می کنند.
امضا
export class Picker
جزئیات
روش ها
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-12 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-12 بهوقت ساعت هماهنگ جهانی."],[[["The `Picker` object, built using `PickerBuilder`, represents the UI for user interaction."],["It offers methods to control visibility, dispose of the object, set callbacks for user selections or cancellations, and handle cross-domain issues with a relay URL."],["The `Picker`'s visibility state can be checked using the `isVisible()` method."]]],["The `Picker` object, managed via `PickerBuilder`, represents the user interface interaction. Key actions include controlling its visibility with `setVisible(visible)` and checking its status with `isVisible()`. A callback method for user selections (or cancellations) can be set using `setCallback(method)`. Cross-domain issues can be handled by specifying a relay URL with `setRelayUrl(url)`. Finally, the `Picker` object can be disposed of using `dispose()`.\n"]]