3 import vrml.external.field.*;
4 import vrml.external.exception.*;
17 public int EventType = FieldTypes.UnknownType;
18 public String outNode;
23 public String RLreturn;
24 public int nodeptr = 0;
25 public int offset = 0;
26 public int datasize = 0;
27 public String datatype;
28 public int ScriptType = 0;
32 public String getType() {
38 String NT = Browser.SendNodeEAIType(nodeptr);
40 String[] spl = NT.split(
" ",0);
43 if (spl[1].equals(
"__UNDEFINED"))
return spl[0];
52 String NNN =
"nodeFrom_getEventIn";
53 StringTokenizer tokens;
58 String st = Browser.SendEventType(nodeptr, name,
"eventIn");
60 tokens =
new StringTokenizer (st);
61 String NNPR = tokens.nextToken();
62 String NOFF = tokens.nextToken();
63 String NDS = tokens.nextToken();
64 String NewDT = tokens.nextToken();
65 String ScrT = tokens.nextToken();
93 ret.command = name; ret.inNode = NNN; ret.datatype=NewDT;
94 ret.nodeptr= Integer.parseInt(NNPR); ret.offset=Integer.parseInt(NOFF);
95 ret.datasize = Integer.parseInt(NDS); ret.ScriptType = Integer.parseInt(ScrT);
104 StringTokenizer tokens;
105 String NNN =
"nodeFrom_getEventOut";
107 String st = Browser.SendEventType(nodeptr, name,
"eventOut");
109 tokens =
new StringTokenizer (st);
110 String NNPR = tokens.nextToken();
111 String NOFF = tokens.nextToken();
112 String NDS = tokens.nextToken();
113 String NewDT = tokens.nextToken();
114 String ScrT = tokens.nextToken();
167 ret.command = name; ret.inNode = NNN; ret.datatype=NewDT;
168 ret.nodeptr=Integer.parseInt(NNPR); ret.offset=Integer.parseInt(NOFF);
169 ret.datasize = Integer.parseInt(NDS); ret.ScriptType = Integer.parseInt(ScrT);