FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
EventOutSFNode.java
1
package
vrml.external.field;
2
import
java.util.*;
3
import
vrml.external.Browser
;
4
import
vrml.external.field.FieldTypes
;
5
import
vrml.external.Node
;
6
7
8
public
class
EventOutSFNode
extends
EventOut
{
9
public
EventOutSFNode
() {EventType = FieldTypes.SFNODE;}
10
11
public
Node
getValue() {
12
String rep;
13
StringTokenizer tokens;
14
int
counttokens;
15
16
Node
retnode;
17
18
if
(RLreturn == null) {
19
rep = Browser.SendEventOut (nodeptr, offset, datasize, datatype,
command
);
20
}
else
{
21
rep = RLreturn;
22
}
23
tokens =
new
StringTokenizer (rep);
24
counttokens = tokens.countTokens();
25
26
27
retnode =
new
Node
();
28
rep = tokens.nextToken();
29
retnode.nodeptr = Integer.parseInt(rep);
30
return
retnode;
31
32
}
33
}
34
command
Definition:
common.c:686
vrml.external.field.EventOutSFNode
Definition:
EventOutSFNode.java:8
vrml.external.field.EventOut
Definition:
EventOut.java:6
vrml.external.Node
Definition:
Node.java:11
vrml.external.field.FieldTypes
Definition:
FieldTypes.java:5
vrml.external.Browser
Definition:
Browser.java:27
src
java
vrml
external
field
EventOutSFNode.java
Generated on Thu Dec 14 2017 12:14:40 for FreeWRL/FreeX3D by
1.8.6