Enum PickerValuesLayout
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
选择器值布局
枚举了如何在选择器微件中显示所选值。
如需调用枚举,您可以调用其父类、名称和属性。例如
Charts.PickerValuesLayout.ASIDE
。
属性
属性 | 类型 | 说明 |
ASIDE | Enum | 所选值会显示在值选择器微件旁边的一行文本中。 |
BELOW | Enum | 所选值会显示在微件下方的单行文本中。 |
BELOW_WRAPPING | Enum | 与下方类似,但无法在选择器中显示的条目会换行显示。 |
BELOW_STACKED | Enum | 所选值会显示在微件下方的列中。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]