FreeWRL/FreeX3D  3.0.0
EventIn.java
1 // Specification of the base interface for all eventIn types.
2 package vrml.external.field;
3 import vrml.external.field.*;
4 
5 public class EventIn {
6 
7  int EventType = FieldTypes.UnknownType;
8  public String command;
9  public String inNode;
10  public int datasize = 0;
11  public int nodeptr = 0;
12  public int offset = 0;
13  public int ScriptType = 0;
14  public String datatype;
15 
16  // Get the type of this EventIn (specified in FieldTypes.java)
17  //public int getType() {
18  // return EventType;
19  //}
20  public int getIntType() {
21  return EventType;
22  }
23 
24  public int getType() {
25  return EventType;
26  }
27 }