Interface SelectionFactory
- All Superinterfaces:
ComponentFactory<SelectionFactory>
選擇器組件工廠
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
選擇元素建造器static interface
選擇器設定 -
Method Summary
Modifier and TypeMethodDescriptiondisabled()
設置禁用selectable
(Class<T> type, Consumer<SelectionFactory.SelectionBuilder<T>> selectionBuilder) 更細節的選擇列表,包括細分圖示和數字標記等selectable
(List<T> selections)
-
Method Details
-
label
- Parameters:
title
- 標題- Returns:
- this
-
disabled
設置禁用- Returns:
- this
-
selectable
- Type Parameters:
T
- 選擇元素的類型- Parameters:
selections
- 選擇列表- Returns:
- this
-
selectable
<T> SelectionFactory.SelectionSettings<T> selectable(Class<T> type, Consumer<SelectionFactory.SelectionBuilder<T>> selectionBuilder) 更細節的選擇列表,包括細分圖示和數字標記等- Type Parameters:
T
- 選擇元素的類型- Parameters:
type
- 選擇元素的類型selectionBuilder
- 選擇元素建造器- Returns:
- this
-