org.appliedtopology.tda4j.plot.Control
See theControl companion object
final case class Control(name: String, min: Double, max: Double, value: Double, label: String = ..., stops: Vector[Double] = ..., step: Option[Double] = ..., play: Option[Double] = ...)
A number the viewer can set: a slider with a name, a range and a starting value, which behaviors refer to by name.
Value parameters
- label
-
what the page writes beside it (
ε); the name when empty - name
-
what behaviors call it (a letter, then letters, digits,
_or-) - play
-
when given, a play button sweeps from the value the slider is at to
maxin this many seconds - step
-
the grid of a smooth slider: a thousandth of the range when not given
- stops
-
when given, the slider steps through exactly these values (the values at which the picture changes), in order, and the arrow keys move from one to the next; otherwise it runs smoothly from
mintomax
Attributes
- Companion
- object
- Experimental
- true
- Source
- Interactive.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article