Package org.web3d.x3d.sai.text
Interface FontStyle
- All Superinterfaces:
X3DFontStyleNode,X3DNode
- All Known Implementing Classes:
SAIFontStyle,SAIFontStyle
Defines the requirements of an X3D FontStyle node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
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 interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getNumFamily
int getNumFamily()Return the number of MFString items in the family field.- Returns:
- the number of MFString items in the family field.
-
getFamily
Return the family value in the argument String[]- Parameters:
val- The String[] to initialize.
-
setFamily
-
getHorizontal
boolean getHorizontal()Return the horizontal boolean value.- Returns:
- The horizontal boolean value.
-
setHorizontal
void setHorizontal(boolean val) Set the horizontal field.- Parameters:
val- The boolean to set.
-
getNumJustify
int getNumJustify()Return the number of MFString items in the justify field.- Returns:
- the number of MFString items in the justify field.
-
getJustify
Return the justify value in the argument String[]- Parameters:
val- The String[] to initialize.
-
setJustify
-
getLanguage
-
setLanguage
-
getLeftToRight
boolean getLeftToRight()Return the leftToRight boolean value.- Returns:
- The leftToRight boolean value.
-
setLeftToRight
void setLeftToRight(boolean val) Set the leftToRight field.- Parameters:
val- The boolean to set.
-
getSize
float getSize()Return the size float value.- Returns:
- The size float value.
-
setSize
void setSize(float val) Set the size field.- Parameters:
val- The float to set.
-
getSpacing
float getSpacing()Return the spacing float value.- Returns:
- The spacing float value.
-
setSpacing
void setSpacing(float val) Set the spacing field.- Parameters:
val- The float to set.
-
getStyle
-
setStyle
-
getTopToBottom
boolean getTopToBottom()Return the topToBottom boolean value.- Returns:
- The topToBottom boolean value.
-
setTopToBottom
void setTopToBottom(boolean val) Set the topToBottom field.- Parameters:
val- The boolean to set.
-