DoubleListParameter

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class DoubleListParameter(val label: String, val low: Double = -1.0, val high: Double = 1.0, val minimumListLength: Int = 1, val maximumListLength: Int = 16, val precision: Int = 3, val order: Int = Int.MAX_VALUE)(source)

DoubleListParameter annotation for a double precision parameter

Properties

Link copied to clipboard
val high: Double = 1.0

the highest value this parameter should be assigned

Link copied to clipboard

a short description of the parameter

Link copied to clipboard
val low: Double

the lowest value this parameter should be assigned

Link copied to clipboard

the maximum amount of entries the annotated list should contain

Link copied to clipboard

the minimum amount of entries the annotated list should contain

Link copied to clipboard
val order: Int

hint for where to place the parameter in user interfaces

Link copied to clipboard
val precision: Int = 3

a hint for precision in user interfaces