FreeWRL / FreeX3D
4.3.0
EventOutSFBool.java
1
package
vrml.external.field;
2
//JAS import java.util.*;
3
import
vrml.external.Browser;
4
import
vrml.external.field.FieldTypes;
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
}
vrml.external.field.EventOutSFBool
Definition
EventOutSFBool.java:7
vrml.external.field.EventOut
Definition
EventOut.java:6
vrml.external.field.FieldTypes
Definition
FieldTypes.java:5
command
Definition
common.c:764
src
java
vrml
external
field
EventOutSFBool.java
Generated by
1.11.0