Interface TextInputFactory
- All Superinterfaces:
ComponentFactory<TextInputFactory>
文字輸入組件工廠
-
Method Summary
Modifier and TypeMethodDescription綁定 組件 與 Model 屬性disabled()設置禁用messageInput(String message) waitForInput(long wait)
-
Method Details
-
label
- Parameters:
label- 標題- Returns:
- this
-
bindInput
綁定 組件 與 Model 屬性- Parameters:
field- Model 屬性initValue- 初始化數值- Returns:
- this
-
waitForInput
- Parameters:
wait- 等待玩家輸入時間(ticks)- Returns:
- this
-
messageInput
- Parameters:
message- 要求玩家輸入時的訊息- Returns:
- this
-
disabled
設置禁用- Returns:
- this
-