32 IntField(
Form &form,
const String &label,
int minValue,
int maxValue,
int stepValue,
int value,
const String &
suffix);
47 int value()
const {
return _value; }
50 const String &
suffix()
const {
return _suffix; }
Field that manages the input of an integer value.
Manages a single data input/output field within a Form.
Form * form() const
Returns the Form that owns this field; null if not associated with a Form.
void setValue(int value)
Sets the current value of this field.
int minValue() const
Returns the minimum value for the input field.
const String & label() const
Returns the label to display in the first line of this field.
int dispatch(int event)
Dispatches event via this field.
void setMinValue(int value)
Sets the minimum value for the input field.
const String & suffix() const
Returns the suffix string to be displayed after the field's value.
int stepValue() const
Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...
int value() const
Returns the current value of this field.
void setMaxValue(int value)
Sets the maximum value for the input field.
IntField(const String &label)
Constructs a new integer field with a specific label.
int maxValue() const
Returns the maximum value for the input field.
void setStepValue(int value)
Sets the step value value to use when increasing or decreasing the value() due to Up and Down button ...
void setSuffix(const String &suffix)
Sets the suffix string to be displayed after the field's value.
void enterField(bool reverse)
Enters the field due to form navigation.