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 TypeMethodDescriptionint
Return the number of MFString items in the url field.boolean
Return the repeatS boolean value.boolean
Return the repeatT boolean value.Return the textureProperties X3DNode value.void
Return the url value in the argument String[]void
setRepeatS
(boolean val) Set the repeatS field.void
setRepeatT
(boolean val) Set the repeatT field.void
Set the textureProperties field.void
Set the url 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
-
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:
getTextureProperties
in interfaceX3DTexture2DNode
- Returns:
- The textureProperties X3DNode value.
-
setTextureProperties
Set the textureProperties field.- Specified by:
setTextureProperties
in interfaceX3DTexture2DNode
- Parameters:
val
- The X3DNode to set.
-
getRepeatS
public boolean getRepeatS()Return the repeatS boolean value.- Specified by:
getRepeatS
in interfaceX3DTexture2DNode
- Returns:
- The repeatS boolean value.
-
setRepeatS
public void setRepeatS(boolean val) Set the repeatS field.- Specified by:
setRepeatS
in interfaceX3DTexture2DNode
- Parameters:
val
- The boolean to set.
-
getRepeatT
public boolean getRepeatT()Return the repeatT boolean value.- Specified by:
getRepeatT
in interfaceX3DTexture2DNode
- Returns:
- The repeatT boolean value.
-
setRepeatT
public void setRepeatT(boolean val) Set the repeatT field.- Specified by:
setRepeatT
in interfaceX3DTexture2DNode
- Parameters:
val
- The boolean to set.
-
getNumUrl
public int getNumUrl()Return the number of MFString items in the url field.- Specified by:
getNumUrl
in interfaceX3DUrlObject
- Returns:
- the number of MFString items in the url field.
-
getUrl
Return the url value in the argument String[]- Specified by:
getUrl
in interfaceX3DUrlObject
- Parameters:
val
- The String[] to initialize.
-
setUrl
Set the url field.- Specified by:
setUrl
in interfaceX3DUrlObject
- Parameters:
val
- The String[] to set.
-