e-Statistics > Developer Guide

textBox

textBox generates <textarea> to enter/display text. The browser's built-in drag-and-drop and data transfer operations are enabled.

Parameters.

TEXT Set an initial text.

The textarea above is created the ISR style command

\applet {textBox}{dispbox}{rows=8 cols=50}
{TEXT="It displays this text. You can also edit it."}

Example.

When the button in the comboBox.class is pressed, it reads the command lines within the following ISR style comboBox, calls rclient.class to execute them, and write the output back to @dispbox. The ISR style command

\begin{comboBox} {execute}{width=160 height=25}{TITLE="Execute R code"}
{x = c(71.4,70.2,68.1,70.0,67.2,67.5,70.1,68.1,70.0,70.3);
@dispbox < stem(x);
\end{comboBox}


© TTU Mathematics