- Companion
- object
Value members
Constructors
Constructs a new IntegerSpinnerValueFactory that sets the initial value
to be equal to the min value, and a default amountToStepBy
of one.
Constructs a new IntegerSpinnerValueFactory that sets the initial value
to be equal to the min value, and a default amountToStepBy
of one.
- Value Params
- max
The maximum allowed integer value for the Spinner.
- min
The minimum allowed integer value for the Spinner.
Constructs a new IntegerSpinnerValueFactory with a default
amountToStepBy
of one.
Constructs a new IntegerSpinnerValueFactory with a default
amountToStepBy
of one.
- Value Params
- initialValue
The value of the Spinner when first instantiated, must be within the bounds of the min and max arguments, or else the min value will be used.
- max
The maximum allowed integer value for the Spinner.
- min
The minimum allowed integer value for the Spinner.
Constructs a new IntegerSpinnerValueFactory.
Constructs a new IntegerSpinnerValueFactory.
- Value Params
- amountToStepBy
The amount to increment or decrement by, per step.
- initialValue
The value of the Spinner when first instantiated, must be within the bounds of the min and max arguments, or else the min value will be used.
- max
The maximum allowed integer value for the Spinner.
- min
The minimum allowed integer value for the Spinner.
Concrete methods
Sets the amount to increment or decrement by, per step.
Sets the amount to increment or decrement by, per step.
Sets the maximum allowable value for this value factory
Sets the maximum allowable value for this value factory
Inherited methods
Converts the user-typed input (when the Spinner is editable
) to an object of type T,
such that the input may be retrieved via the value
property.
Converts the user-typed input (when the Spinner is editable
) to an object of type T,
such that the input may be retrieved via the value
property.
- Inherited from
- SpinnerValueFactory
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
- Value Params
- ref
Object to be compared.
- Returns
if the other object is equals to this delegate or not.
- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
- Returns
Returns the original delegate's
toString()
adding a[SFX]
prefix.- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
Represents the current value of the SpinnerValueFactory, or null if no value has been set.
Represents the current value of the SpinnerValueFactory, or null if no value has been set.
- Inherited from
- SpinnerValueFactory
The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).
The wrapAround property is used to specify whether the value factory should be circular. For example, should an integer-based value model increment from the maximum value back to the minimum value (and vice versa).
- Inherited from
- SpinnerValueFactory