public class DecimalFormatter
extends java.lang.Object
Constructor and Description |
---|
DecimalFormatter()
Creates a decimal formatter between 0, and 1, linear, and with color schema
red/yellow/green
|
DecimalFormatter(java.math.BigDecimal minimum,
java.math.BigDecimal maximum,
boolean linear,
boolean colorscheme)
creates a decimal formatter
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateDefinition()
generates the definition of the formatter
|
public DecimalFormatter(java.math.BigDecimal minimum, java.math.BigDecimal maximum, boolean linear, boolean colorscheme)
minimum
- value corresponding to empty progress barmaximum
- value corresponding to full progress barlinear
- true if linear, false if logarithmic (e.g. 10% progress
bar = 1, 20% progress bar = 10, 30* progress bar = 100)colorscheme
- true: red, yellow, green, false : dark to pale bluepublic DecimalFormatter()