Package org.xj3d.sai.external.node.shape
Class SAIAppearance
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.shape.SAIAppearance
- All Implemented Interfaces:
Appearance
,X3DAppearanceNode
,X3DNode
A concrete implementation of the Appearance node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIAppearance
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the fillProperties X3DNode value.Return the lineProperties X3DNode value.Return the material X3DNode value.Return the texture X3DNode value.Return the textureProperties X3DNode value.Return the textureTransform X3DNode value.void
setFillProperties
(X3DNode val) Set the fillProperties field.void
setLineProperties
(X3DNode val) Set the lineProperties field.void
Set the material field.void
Set the material field.void
Set the texture field.void
setTexture
(X3DTextureNode val) Set the texture field.void
Set the textureProperties field.void
Set the textureTransform field.void
Set the textureTransform field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIAppearance
public SAIAppearance(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node
-nodeFactory
-fieldFactory
-queue
-
-
-
Method Details
-
getMaterial
Return the material X3DNode value.- Specified by:
getMaterial
in interfaceAppearance
- Returns:
- The material X3DNode value.
-
setMaterial
Set the material field.- Specified by:
setMaterial
in interfaceAppearance
- Parameters:
val
- The X3DMaterialNode to set.
-
setMaterial
Set the material field.- Specified by:
setMaterial
in interfaceAppearance
- Parameters:
val
- The X3DProtoInstance to set.
-
getTexture
Return the texture X3DNode value.- Specified by:
getTexture
in interfaceAppearance
- Returns:
- The texture X3DNode value.
-
setTexture
Set the texture field.- Specified by:
setTexture
in interfaceAppearance
- Parameters:
val
- The X3DTextureNode to set.
-
setTexture
Set the texture field.- Specified by:
setTexture
in interfaceAppearance
- Parameters:
val
- The X3DProtoInstance to set.
-
getTextureTransform
Return the textureTransform X3DNode value.- Specified by:
getTextureTransform
in interfaceAppearance
- Returns:
- The textureTransform X3DNode value.
-
setTextureTransform
Set the textureTransform field.- Specified by:
setTextureTransform
in interfaceAppearance
- Parameters:
val
- The X3DTextureTransformNode to set.
-
setTextureTransform
Set the textureTransform field.- Specified by:
setTextureTransform
in interfaceAppearance
- Parameters:
val
- The X3DProtoInstance to set.
-
getLineProperties
Return the lineProperties X3DNode value.- Specified by:
getLineProperties
in interfaceAppearance
- Returns:
- The lineProperties X3DNode value.
-
setLineProperties
Set the lineProperties field.- Specified by:
setLineProperties
in interfaceAppearance
- Parameters:
val
- The X3DNode to set.
-
getFillProperties
Return the fillProperties X3DNode value.- Specified by:
getFillProperties
in interfaceAppearance
- Returns:
- The fillProperties X3DNode value.
-
setFillProperties
Set the fillProperties field.- Specified by:
setFillProperties
in interfaceAppearance
- Parameters:
val
- The X3DNode to set.
-
getTextureProperties
Return the textureProperties X3DNode value.- Specified by:
getTextureProperties
in interfaceAppearance
- Returns:
- The textureProperties X3DNode value.
-
setTextureProperties
Set the textureProperties field.- Specified by:
setTextureProperties
in interfaceAppearance
- Parameters:
val
- The X3DNode to set.
-