Package org.xj3d.sai.internal.node.text
Class SAIFontStyle
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.text.SAIFontStyle
- All Implemented Interfaces:
FontStyle,X3DFontStyleNode,X3DNode
A concrete implementation of the FontStyle 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
ConstructorsConstructorDescriptionSAIFontStyle(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidReturn the family value in the argument String[]booleanReturn the horizontal boolean value.voidgetJustify(String[] val) Return the justify value in the argument String[]Return the language String value.booleanReturn the leftToRight boolean value.intReturn the number of MFString items in the family field.intReturn the number of MFString items in the justify field.floatgetSize()Return the size float value.floatReturn the spacing float value.getStyle()Return the style String value.booleanReturn the topToBottom boolean value.voidSet the family field.voidsetHorizontal(boolean val) Set the horizontal field.voidsetJustify(String[] val) Set the justify field.voidsetLanguage(String val) Set the language field.voidsetLeftToRight(boolean val) Set the leftToRight field.voidsetSize(float val) Set the size field.voidsetSpacing(float val) Set the spacing field.voidSet the style field.voidsetTopToBottom(boolean val) Set the topToBottom 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
-
SAIFontStyle
public SAIFontStyle(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getNumFamily
public int getNumFamily()Return the number of MFString items in the family field.- Specified by:
getNumFamilyin interfaceFontStyle- Returns:
- the number of MFString items in the family field.
-
getFamily
-
setFamily
-
getHorizontal
public boolean getHorizontal()Return the horizontal boolean value.- Specified by:
getHorizontalin interfaceFontStyle- Returns:
- The horizontal boolean value.
-
setHorizontal
public void setHorizontal(boolean val) Set the horizontal field.- Specified by:
setHorizontalin interfaceFontStyle- Parameters:
val- The boolean to set.
-
getNumJustify
public int getNumJustify()Return the number of MFString items in the justify field.- Specified by:
getNumJustifyin interfaceFontStyle- Returns:
- the number of MFString items in the justify field.
-
getJustify
Return the justify value in the argument String[]- Specified by:
getJustifyin interfaceFontStyle- Parameters:
val- The String[] to initialize.
-
setJustify
Set the justify field.- Specified by:
setJustifyin interfaceFontStyle- Parameters:
val- The String[] to set.
-
getLanguage
Return the language String value.- Specified by:
getLanguagein interfaceFontStyle- Returns:
- The language String value.
-
setLanguage
Set the language field.- Specified by:
setLanguagein interfaceFontStyle- Parameters:
val- The String to set.
-
getLeftToRight
public boolean getLeftToRight()Return the leftToRight boolean value.- Specified by:
getLeftToRightin interfaceFontStyle- Returns:
- The leftToRight boolean value.
-
setLeftToRight
public void setLeftToRight(boolean val) Set the leftToRight field.- Specified by:
setLeftToRightin interfaceFontStyle- Parameters:
val- The boolean to set.
-
getSize
-
setSize
-
getSpacing
public float getSpacing()Return the spacing float value.- Specified by:
getSpacingin interfaceFontStyle- Returns:
- The spacing float value.
-
setSpacing
public void setSpacing(float val) Set the spacing field.- Specified by:
setSpacingin interfaceFontStyle- Parameters:
val- The float to set.
-
getStyle
-
setStyle
-
getTopToBottom
public boolean getTopToBottom()Return the topToBottom boolean value.- Specified by:
getTopToBottomin interfaceFontStyle- Returns:
- The topToBottom boolean value.
-
setTopToBottom
public void setTopToBottom(boolean val) Set the topToBottom field.- Specified by:
setTopToBottomin interfaceFontStyle- Parameters:
val- The boolean to set.
-