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 TypeMethodDescriptionvoid
Return the family value in the argument String[]boolean
Return the horizontal boolean value.void
getJustify
(String[] val) Return the justify value in the argument String[]Return the language String value.boolean
Return the leftToRight boolean value.int
Return the number of MFString items in the family field.int
Return the number of MFString items in the justify field.float
getSize()
Return the size float value.float
Return the spacing float value.getStyle()
Return the style String value.boolean
Return the topToBottom boolean value.void
Set the family field.void
setHorizontal
(boolean val) Set the horizontal field.void
setJustify
(String[] val) Set the justify field.void
setLanguage
(String val) Set the language field.void
setLeftToRight
(boolean val) Set the leftToRight field.void
setSize
(float val) Set the size field.void
setSpacing
(float val) Set the spacing field.void
Set the style field.void
setTopToBottom
(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.
-