1 package vrml.external.field;
10 public void setValue(
float[][] value)
throws IllegalArgumentException {
15 throw new IllegalArgumentException();
19 for (count = 0; count < value.length; count++) {
20 if (value[count].length < 3) {
21 throw new IllegalArgumentException();
23 val = val +
" " + value[count][0] +
" " + value[count][1] +
" " + value[count][2] +
",";
26 Browser.newSendEvent(
this,val);
31 public void set1Value(
int index,
float[] value)
throws IllegalArgumentException {
32 if ((value == null) || (index < 0) || (value.length < 3)) {
33 throw new IllegalArgumentException();
35 Browser.newSendEvent(
this,
" ONEVAL " + index +
" " + value[0] +
" " + value[1] +
" " + value[2]);