public @interface GuiInitNumberSpinner
@GuiIncluded
@GuiInits(numberSpinner = @GuiInitNumberSpinner
(format="#,##0.0"))
//the annotation can specify the number format of the spinner; e.g. 54.321 -> 54.3.
public float getMyNum() { ... }
- Since:
- 1.8
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
format
String format- Returns:
- the number format source followd by
DecimalFormat
or "" (default)
- Default:
""
-
minimum
String minimum- Returns:
- the source of the minimum number; parsed as the target number-type with the default format, or "" (default)
- Default:
""
-
maximum
String maximum- Returns:
- the source of the maximum number; parsed as the target number-type with the default format, or "" (default)
- Default:
""
-
stepSize
String stepSize- Returns:
- the source of the step-size number; parsed as the target number-type with the default format, or "" (default)
- Default:
""
-