Enum PickerValuesLayout
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Picker值版面配置列舉如何在選擇器小工具中顯示所選值。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
Charts.PickerValuesLayout.ASIDE
。
屬性
屬性 | 類型 | 說明 |
ASIDE | Enum | 所選值會顯示在值挑選器小工具旁的單一文字行中。 |
BELOW | Enum | 選取的值會顯示在小工具下方的單行文字中。 |
BELOW_WRAPPING | Enum | 與下方類似,但無法在挑選器中顯示的項目會換行。 |
BELOW_STACKED | Enum | 選取的值會顯示在小工具下方的資料欄中。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]