FreeWRL/FreeX3D  3.0.0
EventOutSFFloat.java
1 package vrml.external.field;
2 //JAS import java.util.*;
5 
6 
7 public class EventOutSFFloat extends EventOut {
8  public EventOutSFFloat() {EventType = FieldTypes.SFFLOAT;}
9 
10  public float getValue() {
11  String rep;
12 
13  if (RLreturn == null) {
14  rep = Browser.SendEventOut (nodeptr, offset, datasize, datatype, command);
15  } else {
16  rep = RLreturn;
17  }
18  return Float.valueOf(rep).floatValue();
19  }
20 }