FreeWRL/FreeX3D  3.0.0
EventOutSFBool.java
1 package vrml.external.field;
2 //JAS import java.util.*;
5 
6 
7 public class EventOutSFBool extends EventOut {
8  public EventOutSFBool() {EventType = FieldTypes.SFBOOL;}
9 
10  public boolean 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 rep.equals("TRUE");
19  }
20 }