FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
FWSFBool.java
1
package
sai;
2
import
org.web3d.x3d.sai.*;
3
4
public
class
FWSFBool
extends
FreeWRLField
implements
SFBool
{
5
FreeWRLBrowser
browser;
6
7
public
FWSFBool
(
FreeWRLFieldDefinition
def,
FreeWRLBrowser
b) {
8
super(def, b);
9
browser = b;
10
}
11
12
public
boolean
getValue()
throws
InvalidFieldException
{
13
checkValid();
14
return
RLreturn.equals(
"TRUE"
);
15
}
16
17
public
void
setValue(
boolean
value)
throws
InvalidFieldException
{
18
checkValid();
19
if
(value) {
20
browser.newSendEvent(
this
,
"TRUE"
);
21
}
else
{
22
browser.newSendEvent(
this
,
"FALSE"
);
23
}
24
}
25
}
sai.FreeWRLField
Definition:
FreeWRLField.java:4
sai.FreeWRLFieldDefinition
Definition:
FreeWRLFieldDefinition.java:4
sai.FWSFBool
Definition:
FWSFBool.java:4
org.web3d.x3d.sai.SFBool
Definition:
SFBool.java:3
sai.FreeWRLBrowser
Definition:
FreeWRLBrowser.java:18
org.web3d.x3d.sai.InvalidFieldException
Definition:
InvalidFieldException.java:3
src
java
sai
FWSFBool.java
Generated on Thu Dec 14 2017 12:14:40 for FreeWRL/FreeX3D by
1.8.6