Class SAIImageTexture
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.texturing.SAIImageTexture
- All Implemented Interfaces:
ImageTexture,X3DAppearanceChildNode,X3DNode,X3DTexture2DNode,X3DTextureNode,X3DUrlObject
A concrete implementation of the ImageTexture node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIImageTexture(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionintReturn the number of MFString items in the url field.booleanReturn the repeatS boolean value.booleanReturn the repeatT boolean value.Return the textureProperties X3DNode value.voidReturn the url value in the argument String[]voidsetRepeatS(boolean val) Set the repeatS field.voidsetRepeatT(boolean val) Set the repeatT field.voidSet the textureProperties field.voidSet the url 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
-
SAIImageTexture
public SAIImageTexture(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node-nodeFactory-fieldFactory-queue-
-
-
Method Details
-
getTextureProperties
Return the textureProperties X3DNode value.- Specified by:
getTexturePropertiesin interfaceX3DTexture2DNode- Returns:
- The textureProperties X3DNode value.
-
setTextureProperties
Set the textureProperties field.- Specified by:
setTexturePropertiesin interfaceX3DTexture2DNode- Parameters:
val- The X3DNode to set.
-
getRepeatS
public boolean getRepeatS()Return the repeatS boolean value.- Specified by:
getRepeatSin interfaceX3DTexture2DNode- Returns:
- The repeatS boolean value.
-
setRepeatS
public void setRepeatS(boolean val) Set the repeatS field.- Specified by:
setRepeatSin interfaceX3DTexture2DNode- Parameters:
val- The boolean to set.
-
getRepeatT
public boolean getRepeatT()Return the repeatT boolean value.- Specified by:
getRepeatTin interfaceX3DTexture2DNode- Returns:
- The repeatT boolean value.
-
setRepeatT
public void setRepeatT(boolean val) Set the repeatT field.- Specified by:
setRepeatTin interfaceX3DTexture2DNode- Parameters:
val- The boolean to set.
-
getNumUrl
public int getNumUrl()Return the number of MFString items in the url field.- Specified by:
getNumUrlin interfaceX3DUrlObject- Returns:
- the number of MFString items in the url field.
-
getUrl
Return the url value in the argument String[]- Specified by:
getUrlin interfaceX3DUrlObject- Parameters:
val- The String[] to initialize.
-
setUrl
Set the url field.- Specified by:
setUrlin interfaceX3DUrlObject- Parameters:
val- The String[] to set.
-