This prototype is used to represent a parameter has a single value. Only experts should interact directly with this prototype.
character
identifier for parameter.
character
name of parameter.
numeric
scalar value.
numeric
scalar default value.
character
name of the class that $value
should
inherit from (e.g. integer
).
numeric
scalar value that is the minimum value
that $value
is permitted to be.
numeric
scalar value that is the maximum value
that $value
is permitted to be.
function
used to construct a
shiny::shiny()
interface for modifying values.
x$print()
x$show()
x$validate(x)
x$get()
x$set(x)
x$reset()
x$render(...)
object used to set a new parameter value.
arguments passed to $widget
.
print the object.
show the object.
check if a proposed new set of parameters are valid.
extract the parameter value.
update the parameter value.
update the parameter value to be the default value.
create a shiny::shiny()
widget to modify
parameter values.