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