Fiori Stepper Value
data class FioriStepperValue(var value: Float = 0.0f, var mode: RoundingMode = RoundingMode.HALF_UP, var decimalPlaces: Int = 0, var valueRange: ClosedFloatingPointRange<Float> = 0f..100f, var step: Float = 1.0f, var maxDigits: Int = DEFAULT_MAX_DIGITS) : Parcelable
Value model representing the current state and configuration of a Fiori Stepper.
This class encapsulates all numeric parameters and formatting rules for the stepper's value. It implements Parcelable to support state preservation across configuration changes.
Constructors
Link copied to clipboard
constructor(value: Float = 0.0f, mode: RoundingMode = RoundingMode.HALF_UP, decimalPlaces: Int = 0, valueRange: ClosedFloatingPointRange<Float> = 0f..100f, step: Float = 1.0f, maxDigits: Int = DEFAULT_MAX_DIGITS)
Properties
Link copied to clipboard
Number of decimal places to display (default: 0).Controls the precision of both value and step.
Link copied to clipboard
Rounding behavior for decimal values (default: RoundingMode.HALF_UP)
Link copied to clipboard
Allowed value range (inclusive, default: 0f..100f)