StudyParameter

sealed class StudyParameter : Parcelable

A base class of active study parameter

Types

Checkbox
Link copied to clipboard
data class Checkbox(heading: String, name: String, parameterType: StudyParameterType, defaultValue: Boolean, value: Boolean) : StudyParameter
A boolean parameter of active study Study
Color
Link copied to clipboard
data class Color(heading: String, name: String, parameterType: StudyParameterType, defaultValue: String, value: String) : StudyParameter
A color parameter of active study Study
Companion
Link copied to clipboard
object Companion
Number
Link copied to clipboard
data class Number(heading: String, name: String, parameterType: StudyParameterType, defaultValue: Double, value: Double) : StudyParameter
A number parameter of active study Study
Select
Link copied to clipboard
data class Select(heading: String, name: String, parameterType: StudyParameterType, defaultValue: String, value: String, options: Map<String, String>) : StudyParameter
A parameter of active study Study that has a limited list of possible options
StudyParameterNamePostfix
Link copied to clipboard
A set of postfixes supported by the library
Text
Link copied to clipboard
data class Text(heading: String, name: String, parameterType: StudyParameterType, defaultValue: String, value: String) : StudyParameter
A text parameter of active study Study
TextColor
Link copied to clipboard
data class TextColor(heading: String, name: String, parameterType: StudyParameterType, defaultValue: Double, value: Double?, defaultColor: String, color: String?) : StudyParameter
A parameter of active study Study that contains a number and a color

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

heading
Link copied to clipboard
abstract val heading: String
A user-friendly name of the parameter
name
Link copied to clipboard
abstract val name: String
A name of a parameter to be used as identifier of a parameter
parameterType
Link copied to clipboard
abstract val parameterType: StudyParameterType
A parameter type

Inheritors

StudyParameter
Link copied to clipboard
StudyParameter
Link copied to clipboard
StudyParameter
Link copied to clipboard
StudyParameter
Link copied to clipboard
StudyParameter
Link copied to clipboard
StudyParameter
Link copied to clipboard