Package xj3d.filter.node
Class MultiTextureTransform
java.lang.Object
xj3d.filter.node.BaseEncodable
xj3d.filter.node.MultiTextureTransform
- All Implemented Interfaces:
Encodable
,IAppearanceChild
,ITextureTransform
Wrapper for the X3D MultiTextureTransform node.
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class xj3d.filter.node.BaseEncodable
bch, defName, fieldReader, handler, HANDLER_BINARY, HANDLER_NULL, HANDLER_STRING, handlerType, nodeName, sch, useName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a TextureTransform to this node.void
addTextureTransform
(Encodable[] enc) Add TextureTransforms to this node.void
clear()
Clear the node fields to their initial valuesclone
(boolean full) Create and return a copy of this object.void
encode()
Push the node contents to the ContentHandler.Return the TextureTransforms of this node.void
setTextureTransform
(Encodable[] enc) Clear and set the TextureTransforms of this node.void
Set the value of the named field.void
Set the value of the named field.Methods inherited from class xj3d.filter.node.BaseEncodable
copy, deepEquals, getDefName, getMetadata, getNodeName, getUseName, setContentHandler, setDefName, setFieldReader, setMetadata, setUseName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface xj3d.filter.node.Encodable
deepEquals, getDefName, getNodeName, getUseName, setContentHandler, setDefName, setFieldReader, setUseName
-
Constructor Details
-
MultiTextureTransform
public MultiTextureTransform()Constructor -
MultiTextureTransform
-
-
Method Details
-
clear
public void clear()Clear the node fields to their initial values- Specified by:
clear
in interfaceEncodable
- Overrides:
clear
in classBaseEncodable
-
encode
public void encode()Push the node contents to the ContentHandler.- Specified by:
encode
in interfaceEncodable
- Overrides:
encode
in classBaseEncodable
-
setValue
-
setValue
Set the value of the named field.- Specified by:
setValue
in interfaceEncodable
- Overrides:
setValue
in classBaseEncodable
- Parameters:
name
- The name of the field to set.value
- The value of the field.len
- The number of values in the array.
-
clone
Create and return a copy of this object.- Specified by:
clone
in interfaceEncodable
- Overrides:
clone
in classBaseEncodable
- Parameters:
full
- true if the clone should contain a copy of the complete contents of this node and it's children, false returns a new instance of this node type.- Returns:
- a copy of this.
-
setTextureTransform
Clear and set the TextureTransforms of this node.- Parameters:
enc
- The TextureTransform nodes to set. A value of null just performs a clear.
-
getTextureTransform
Return the TextureTransforms of this node.- Returns:
- The TextureTransform nodes of this node.
-
addTextureTransform
Add TextureTransforms to this node.- Parameters:
enc
- The TextureTransform nodes to add to this node.
-
addTextureTransform
Add a TextureTransform to this node.- Parameters:
enc
- A TextureTransform node to add to this node.
-