Package org.xj3d.sai.internal.node.text
Class SAIText
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.text.SAIText
- All Implemented Interfaces:
Text,X3DGeometryNode,X3DNode
A concrete implementation of the Text node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAIText(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) 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.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
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
-