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.voidsetFillProperties(X3DNode val) Set the fillProperties field.voidsetLineProperties(X3DNode val) Set the lineProperties field.voidSet the material field.voidSet the material field.voidSet the texture field.voidsetTexture(X3DTextureNode val) Set the texture field.voidSet the textureProperties field.voidSet the textureTransform field.voidSet the textureTransform field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
getMaterialin interfaceAppearance- Returns:
- The material X3DNode value.
-
setMaterial
Set the material field.- Specified by:
setMaterialin interfaceAppearance- Parameters:
val- The X3DMaterialNode to set.
-
setMaterial
Set the material field.- Specified by:
setMaterialin interfaceAppearance- Parameters:
val- The X3DProtoInstance to set.
-
getTexture
Return the texture X3DNode value.- Specified by:
getTexturein interfaceAppearance- Returns:
- The texture X3DNode value.
-
setTexture
Set the texture field.- Specified by:
setTexturein interfaceAppearance- Parameters:
val- The X3DTextureNode to set.
-
setTexture
Set the texture field.- Specified by:
setTexturein interfaceAppearance- Parameters:
val- The X3DProtoInstance to set.
-
getTextureTransform
Return the textureTransform X3DNode value.- Specified by:
getTextureTransformin interfaceAppearance- Returns:
- The textureTransform X3DNode value.
-
setTextureTransform
Set the textureTransform field.- Specified by:
setTextureTransformin interfaceAppearance- Parameters:
val- The X3DTextureTransformNode to set.
-
setTextureTransform
Set the textureTransform field.- Specified by:
setTextureTransformin interfaceAppearance- Parameters:
val- The X3DProtoInstance to set.
-
getLineProperties
Return the lineProperties X3DNode value.- Specified by:
getLinePropertiesin interfaceAppearance- Returns:
- The lineProperties X3DNode value.
-
setLineProperties
Set the lineProperties field.- Specified by:
setLinePropertiesin interfaceAppearance- Parameters:
val- The X3DNode to set.
-
getFillProperties
Return the fillProperties X3DNode value.- Specified by:
getFillPropertiesin interfaceAppearance- Returns:
- The fillProperties X3DNode value.
-
setFillProperties
Set the fillProperties field.- Specified by:
setFillPropertiesin interfaceAppearance- Parameters:
val- The X3DNode to set.
-
getTextureProperties
Return the textureProperties X3DNode value.- Specified by:
getTexturePropertiesin interfaceAppearance- Returns:
- The textureProperties X3DNode value.
-
setTextureProperties
Set the textureProperties field.- Specified by:
setTexturePropertiesin interfaceAppearance- Parameters:
val- The X3DNode to set.
-