Constructs a widget for managing the settings for generating solutions.
solutionSettings(x, width = NULL, height = NULL, elementId = NULL)
x | SolutionSettings object. |
---|---|
width |
|
height |
|
elementId |
|
The widget sends a list
with the following values to the server:
character
identifier for the theme or weight.
character
name of the updated setting.
Available options include: "status"
, "factor"
, or "goal"
.
new numeric
or logical
values.
character
indicating if the updated setting corresponds
to a theme
or weight
.
The widget also contains a text box. The server value for this
text box is a character
string. It can be queried using
id_name
where id
is the argument to elementId
.
The widget also contains two buttons. The server values for these
buttons is an integer
indicating the number of times they
has been clicked. They can be queried using id_start_button
and id_stop_button
where id
is the argument to elementId
.
The widget also contains a color picker. The server value for this
button is an character
indicating the current color. It can be queried
using id_color
where id
is the argument to elementId
.
if (FALSE) {
# run Shiny app to demo the sidebar pane
if (interactive()) {
runExample("solutionSettings")
}
}