public interface FontStyle extends X3DFontStyleNode
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getFamily()
Provide array of String enumeration results ['"SANS"'|'"SERIF"'|'"TYPEWRITER"'|'"etc."'] from initializeOnly MFString field named family.
|
boolean |
getHorizontal()
Provide boolean value from initializeOnly SFBool field named horizontal.
|
java.lang.String[] |
getJustify()
Provide array of String enumeration results ['"MIDDLE"'|'"MIDDLE" "BEGIN"'|'"MIDDLE" "END"'|'"MIDDLE" "FIRST"'|'"MIDDLE" "MIDDLE"'|'"BEGIN"'|'"BEGIN" "BEGIN"'|'"BEGIN" "END"'|'"BEGIN" "FIRST"'|'"BEGIN" "MIDDLE"'|'"END"'|'"END" "BEGIN"'|'"END" "END"'|'"END" "FIRST"'|'"END" "MIDDLE"'|'"FIRST"'|'"FIRST" "BEGIN"'|'"FIRST" "END"'|'"FIRST" "FIRST"'|'"FIRST" "MIDDLE"'] from initializeOnly MFString field named justify.
|
java.lang.String |
getLanguage()
Provide String value from initializeOnly SFString field named language.
|
boolean |
getLeftToRight()
Provide boolean value from initializeOnly SFBool field named leftToRight.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getSize()
Provide float value within allowed range of (0,infinity) from initializeOnly SFFloat field named size.
|
float |
getSpacing()
Provide float value within allowed range of [0,infinity) from initializeOnly SFFloat field named spacing.
|
java.lang.String |
getStyle()
Provide String enumeration value ['PLAIN'|'BOLD'|'ITALIC'|'BOLDITALIC'] from initializeOnly SFString field named style.
|
boolean |
getTopToBottom()
Provide boolean value from initializeOnly SFBool field named topToBottom.
|
FontStyle |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
FontStyle |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
FontStyle |
setFamily(java.lang.String[] newValue)
Assign String enumeration array (""SANS""|""SERIF""|""TYPEWRITER"") ['"SANS"'|'"SERIF"'|'"TYPEWRITER"'|'"etc."'] to initializeOnly MFString field named family.
|
FontStyle |
setHorizontal(boolean newValue)
Assign boolean value to initializeOnly SFBool field named horizontal.
|
FontStyle |
setJustify(java.lang.String[] newValue)
Assign String enumeration array (""MIDDLE""|""MIDDLE" "BEGIN""|""MIDDLE" "END""|""MIDDLE" "FIRST""|""MIDDLE" "MIDDLE""|""BEGIN""|""BEGIN" "BEGIN""|""BEGIN" "END""|""BEGIN" "FIRST""|""BEGIN" "MIDDLE""|""END""|""END" "BEGIN""|""END" "END""|""END" "FIRST""|""END" "MIDDLE""|""FIRST""|""FIRST" "BEGIN""|""FIRST" "END""|""FIRST" "FIRST""|""FIRST" "MIDDLE"") ['"MIDDLE"'|'"MIDDLE" "BEGIN"'|'"MIDDLE" "END"'|'"MIDDLE" "FIRST"'|'"MIDDLE" "MIDDLE"'|'"BEGIN"'|'"BEGIN" "BEGIN"'|'"BEGIN" "END"'|'"BEGIN" "FIRST"'|'"BEGIN" "MIDDLE"'|'"END"'|'"END" "BEGIN"'|'"END" "END"'|'"END" "FIRST"'|'"END" "MIDDLE"'|'"FIRST"'|'"FIRST" "BEGIN"'|'"FIRST" "END"'|'"FIRST" "FIRST"'|'"FIRST" "MIDDLE"'] to initializeOnly MFString field named justify.
|
FontStyle |
setLanguage(java.lang.String newValue)
Assign String value to initializeOnly SFString field named language.
|
FontStyle |
setLeftToRight(boolean newValue)
Assign boolean value to initializeOnly SFBool field named leftToRight.
|
FontStyle |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
FontStyle |
setSize(float newValue)
Assign float value within allowed range of (0,infinity) to initializeOnly SFFloat field named size.
|
FontStyle |
setSpacing(float newValue)
Assign float value within allowed range of [0,infinity) to initializeOnly SFFloat field named spacing.
|
FontStyle |
setStyle(java.lang.String newValue)
Assign String enumeration value ("PLAIN"|"BOLD"|"ITALIC"|"BOLDITALIC") ['PLAIN'|'BOLD'|'ITALIC'|'BOLDITALIC'] to initializeOnly SFString field named style.
|
FontStyle |
setTopToBottom(boolean newValue)
Assign boolean value to initializeOnly SFBool field named topToBottom.
|
FontStyle |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String[] getFamily()
FontStyle setFamily(java.lang.String[] newValue)
newValue - is new value for the family field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getHorizontal()
FontStyle setHorizontal(boolean newValue)
newValue - is new value for the horizontal field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getJustify()
FontStyle setJustify(java.lang.String[] newValue)
newValue - is new value for the justify field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getLanguage()
FontStyle setLanguage(java.lang.String newValue)
newValue - is new value for the language field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getLeftToRight()
FontStyle setLeftToRight(boolean newValue)
newValue - is new value for the leftToRight field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DFontStyleNodegetMetadata in interface X3DNodeFontStyle setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DFontStyleNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getSize()
FontStyle setSize(float newValue)
newValue - is new value for the size field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getSpacing()
FontStyle setSpacing(float newValue)
newValue - is new value for the spacing field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getStyle()
FontStyle setStyle(java.lang.String newValue)
newValue - is new value for the style field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getTopToBottom()
FontStyle setTopToBottom(boolean newValue)
newValue - is new value for the topToBottom field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).FontStyle setDEF(java.lang.String newValue)
setDEF in interface X3DFontStyleNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).FontStyle setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DFontStyleNodesetUSE in interface X3DNodenewValue - is new value for the USE field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).FontStyle setCssClass(java.lang.String newValue)
setCssClass in interface X3DFontStyleNodesetCssClass in interface X3DNodenewValue - is new value for the class field.FontStyle - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.