Interface DateSelectorFactory
- All Superinterfaces:
ComponentFactory<DateSelectorFactory>
日期選擇器組件工廠
-
Method Summary
Modifier and TypeMethodDescription綁定組件與 Model 屬性disabled()
設置禁用inputMessage
(String message) invalidMessage
(String message) waitForInput
(long maxWait)
-
Method Details
-
disabled
設置禁用- Returns:
- this
-
label
- Parameters:
title
- 標題- Returns:
- this
-
bindInput
綁定組件與 Model 屬性- Parameters:
field
- Model 屬性initValue
- 初始化數值- Returns:
- this
-
inputMessage
- Parameters:
message
- 要求玩家手動輸入的訊息- Returns:
- this
-
invalidMessage
- Parameters:
message
- 玩家輸入無效格式時發送的訊息- Returns:
- this
-
waitForInput
- Parameters:
maxWait
- 等待玩家輸入最大時間(ticks)- Returns:
- this
-