TextColor

data class TextColor(val heading: String, val name: String, val parameterType: StudyParameterType, val defaultValue: Double, val value: Double?, val defaultColor: String, val color: String?) : StudyParameter

A parameter of active study Study that contains a number and a color

Constructors

Link copied to clipboard
constructor(heading: String, name: String, parameterType: StudyParameterType, defaultValue: Double, value: Double?, defaultColor: String, color: String?)

Properties

Link copied to clipboard
val color: String?

A current color string value of a parameter. A format is #RRGGBB

Link copied to clipboard
val defaultColor: String

A default color string value of a parameter

Link copied to clipboard
val defaultValue: Double

A default Double value of a parameter

Link copied to clipboard
open override val heading: String

A user-friendly name of the parameter

Link copied to clipboard
open override val name: String

A name of a parameter to be used as identifier of a parameter

Link copied to clipboard

A parameter type

Link copied to clipboard
val value: Double?

A current Double value of text a parameter