public class SFNode extends Field
Constructor and Description |
---|
SFNode()
Construct a default SFNode field.
|
SFNode(BaseNode node)
Construct an SFNode field.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Create a shallow copy of the SFNode; the underlying BaseNode is
not copied.
|
BaseNode |
getValue()
Get the VRML node stored in this SFNode.
|
void |
setValue(BaseNode node)
Set the VRML node stored in this SFNode.
|
void |
setValue(ConstSFNode node)
Set the VRML node stored in this SFNode.
|
void |
setValue(SFNode node)
Set the VRML node stored in this SFNode.
|
public SFNode()
public SFNode(BaseNode node)
node
- VRML Node to create SFNode withpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
public BaseNode getValue()
public void setValue(BaseNode node)
node
- VRML node objectpublic void setValue(ConstSFNode node)
node
- Existing ConstSFNodepublic void setValue(SFNode node)
node
- Existing SFNode