Package xj3d.filter.node
Class BaseTexture2D
java.lang.Object
xj3d.filter.node.BaseEncodable
xj3d.filter.node.BaseTexture2D
- All Implemented Interfaces:
Encodable,IAppearanceChild,ITexture,ITexture2D
- Direct Known Subclasses:
ImageTexture
Base abstract impl wrapper for X3DTexture2DNodes.
- Version:
- $Revision: 1.2 $
- Author:
- Rex Melton
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidclear()Clear the node fields to their initial valuesprotected voidcopy(BaseEncodable enc, boolean deep) Copy the working objects of this into the argument.voidencode()Push the node contents to the ContentHandler.Get the TextureProperties node wrappervoidsetTextureProperties(Encodable textureProperties) Set the TextureProperties node wrappervoidSet the value of the named field.voidSet the value of the named field.Methods inherited from class xj3d.filter.node.BaseEncodable
clone, deepEquals, getDefName, getMetadata, getNodeName, getUseName, setContentHandler, setDefName, setFieldReader, setMetadata, setUseNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface xj3d.filter.node.Encodable
clone, deepEquals, getDefName, getNodeName, getUseName, setContentHandler, setDefName, setFieldReader, setUseName
-
Field Details
-
repeatS
public boolean repeatSField value -
repeatT
public boolean repeatTField value
-
-
Constructor Details
-
BaseTexture2D
-
-
Method Details
-
clear
public void clear()Clear the node fields to their initial values- Specified by:
clearin interfaceEncodable- Overrides:
clearin classBaseEncodable
-
encode
public void encode()Push the node contents to the ContentHandler.- Specified by:
encodein interfaceEncodable- Overrides:
encodein classBaseEncodable
-
setValue
-
setValue
Set the value of the named field.- Specified by:
setValuein interfaceEncodable- Overrides:
setValuein classBaseEncodable- Parameters:
name- The name of the field to set.value- The value of the field.len- The number of values in the array.
-
copy
Copy the working objects of this into the argument. Used by subclasses to initialize a clone.- Overrides:
copyin classBaseEncodable- Parameters:
enc- The encodable to initialize.deep- true to initialize this nodes fields, false otherwise.
-
setTextureProperties
Set the TextureProperties node wrapper- Parameters:
textureProperties- The TextureProperties node wrapper
-
getTextureProperties
Get the TextureProperties node wrapper- Returns:
- The TextureProperties node wrapper
-