FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
EventOutSFString.java
1
package
vrml.external.field;
2
//JAS import java.util.*;
3
import
vrml.external.field.FieldTypes
;
4
import
vrml.external.Browser
;
5
6
7
public
class
EventOutSFString
extends
EventOut
{
8
public
EventOutSFString
() {EventType = FieldTypes.SFSTRING;}
9
10
public
String getValue() {
11
12
if
(RLreturn == null) {
13
String rep;
14
rep = Browser.SendEventOut (nodeptr, offset, datasize, datatype,
command
);
15
if
(rep.length() > 2) {
16
// remove quotes at the beginning and end
17
rep = rep.substring (1,rep.length()-1);
18
}
19
return
rep;
20
}
else
{
21
return
RLreturn;
22
}
23
}
24
}
vrml.external.field.EventOutSFString
Definition:
EventOutSFString.java:7
command
Definition:
common.c:686
vrml.external.field.EventOut
Definition:
EventOut.java:6
vrml.external.field.FieldTypes
Definition:
FieldTypes.java:5
vrml.external.Browser
Definition:
Browser.java:27
src
java
vrml
external
field
EventOutSFString.java
Generated on Thu Dec 14 2017 12:14:40 for FreeWRL/FreeX3D by
1.8.6