public class NumericPropertyType extends PropertyType implements FormatConstants
Modifier and Type | Field and Description |
---|---|
private int |
decimals |
private int |
format |
private boolean |
grouping |
private boolean |
hasMaxValue |
private boolean |
hasMinValue |
private double |
maxValue |
private double |
minValue |
CURRENCY_FORMAT, DATE_FORMAT, DATE_TIME_FORMAT, DECIMAL_FORMAT, INTEGER_FORMAT, LENGTH_MASK, LONG, MEDIUM, PERCENTAGE_FORMAT, SHORT, TIME_FORMAT, TYPE_MASK
Constructor and Description |
---|
NumericPropertyType() |
NumericPropertyType(int format) |
Modifier and Type | Method and Description |
---|---|
void |
clearMaximumValue() |
void |
clearMinimumValue() |
String |
formatValue(Object value) |
int |
getFormat() |
double |
getMaximumValue() |
double |
getMinimumValue() |
boolean |
hasMaximumValue() |
boolean |
hasMinimumValue() |
void |
setMaximumValue(double maxValue) |
void |
setMinimumValue(double minValue) |
private int format
private boolean hasMaxValue
private boolean hasMinValue
private double maxValue
private double minValue
private int decimals
private boolean grouping
public NumericPropertyType()
public NumericPropertyType(int format)
public void setMaximumValue(double maxValue)
public double getMaximumValue()
public boolean hasMaximumValue()
public void setMinimumValue(double minValue)
public void clearMinimumValue()
public void clearMaximumValue()
public double getMinimumValue()
public boolean hasMinimumValue()
public int getFormat()
public String formatValue(Object value)
formatValue
in class PropertyType
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses