SolutionView

sealed class SolutionView<T, S : Solution> : Any

Fields

Name Description
protected formatter: TermFormatter
lateinit var led: Circle
lateinit var status: Label
lateinit var query: Label
protected solution: S

CompanionObject

SolutionView

sealed class SolutionView<T, S : Solution> : Any

Fields

Name Description
val COLOR_YES: Paint.valueOf("LIME")
val COLOR_NO: Paint.valueOf("GRAY")
val COLOR_HALT: Paint.valueOf("RED")
val COLOR_TIMEOUT: Paint.valueOf("GOLD")

Methods

of

fun of(solution: Solution): SolutionView<*, *>

Parameters

Name Description
solution: Solution

ReturnValue

Name Description
SolutionView<*, *>