Table 1.
variable type | R data type | GUI component |
---|---|---|
int | integer | JSpinner |
double | numeric | JSpinner |
boolean | boolean | JCheckBox |
string | character | JTextField |
string with items | character | JComboBox |
filename | character | JFileDialog |
color | character | JColorChooser |
range-int | vector | MyRangeSlider |
range-double | vector | MyRangeSlider |
column | matrix | JComboBox |
column-numerical | matrix | JComboBox |
multi-column | data.frame | JList |
multi-column-numerical | data.frame | JList |
ouput-column | vector | JTextField |
output-table | data.frame / matrix | JTextField |
Variable type definition keywords, corresponding R data types and the generated GUI component.