Interface TimeSelectorFactory
- All Superinterfaces:
ComponentFactory<TimeSelectorFactory>
時間選擇器組件工廠 (24H)
-
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 屬性time
- 初始化數值- Returns:
- this
-
inputMessage
- Parameters:
message
- 要求玩家輸入時的訊息- Returns:
- this
-
invalidMessage
- Parameters:
message
- 玩家輸入無效時的訊息- Returns:
- this
-
waitForInput
- Parameters:
maxWait
- 等待輸入時間 (ticks)- Returns:
- this
-