1 package vrml.external.field;
8 public void setValue(String[] value)
throws IllegalArgumentException {
14 for (count = 0; count < value.length; count++) {
15 if (value[count] == null) {
16 throw new IllegalArgumentException();
18 sestr = sestr+
"\"" + value[count] +
"\" ";
21 Browser.newSendEvent (
this, sestr);
24 public void set1Value(
int index, String value)
throws IllegalArgumentException {
27 if ((value == null) || (index < 0)) {
28 throw new IllegalArgumentException();
31 Browser.newSendEvent(
this,
" ONEVAL " + index +
" \"" + value +
"\"");