方法 Picker.setVisible
控制 Picker
对象的可见性。
签名
setVisible(visible: boolean): Picker;
详细信息
参数
名称 |
类型 |
可选 |
说明 |
visible |
boolean |
否 |
|
返回
Picker
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-09。
[null,null,["最后更新时间 (UTC):2024-11-09。"],[[["The `setVisible` method controls the visibility of the `Picker` object."],["It takes a boolean parameter `visible` to set the visibility state."],["The method returns the `Picker` object itself, allowing for method chaining."],["This method is not optional, final, protected, or static."]]],["The `setVisible` method controls the visibility of a `Picker` object. It accepts a single, non-optional `boolean` parameter named `visible`. This parameter dictates whether the `Picker` is shown or hidden. The method returns the `Picker` object itself, allowing for method chaining. The method is not optional, final, protected or static.\n"]]