Package org.xj3d.sai.external.node.text
Class SAIText
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.text.SAIText
- All Implemented Interfaces:
Text,X3DGeometryNode,X3DNode
A concrete implementation of the Text node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIText(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the fontStyle X3DNode value.voidgetLength(float[] val) Return the length value in the argument float[]floatReturn the maxExtent float value.intReturn the number of MFFloat items in the length field.intReturn the number of MFString items in the string field.booleangetSolid()Return the solid boolean value.voidReturn the string value in the argument String[]voidSet the fontStyle field.voidSet the fontStyle field.voidsetLength(float[] val) Set the length field.voidsetMaxExtent(float val) Set the maxExtent field.voidsetSolid(boolean val) Set the solid field.voidSet the string 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
-
SAIText
public SAIText(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
fieldFactory-queue-
-
-
Method Details
-
getNumString
public int getNumString()Return the number of MFString items in the string field.- Specified by:
getNumStringin interfaceText- Returns:
- the number of MFString items in the string field.
-
getString
-
setString
-
getFontStyle
Return the fontStyle X3DNode value.- Specified by:
getFontStylein interfaceText- Returns:
- The fontStyle X3DNode value.
-
setFontStyle
Set the fontStyle field.- Specified by:
setFontStylein interfaceText- Parameters:
val- The X3DFontStyleNode to set.
-
setFontStyle
Set the fontStyle field.- Specified by:
setFontStylein interfaceText- Parameters:
val- The X3DProtoInstance to set.
-
getNumLength
public int getNumLength()Return the number of MFFloat items in the length field.- Specified by:
getNumLengthin interfaceText- Returns:
- the number of MFFloat items in the length field.
-
getLength
-
setLength
-
getMaxExtent
public float getMaxExtent()Return the maxExtent float value.- Specified by:
getMaxExtentin interfaceText- Returns:
- The maxExtent float value.
-
setMaxExtent
public void setMaxExtent(float val) Set the maxExtent field.- Specified by:
setMaxExtentin interfaceText- Parameters:
val- The float to set.
-
getSolid
-
setSolid
-