Class ScreenFontStyle
java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.Layout.ScreenFontStyle
- All Implemented Interfaces:
X3DNode
,ScreenFontStyle
,X3DFontStyleNode
ScreenFontStyle is an X3DFontStyleNode defines the size, family, justification, and other styles used within a screen layout.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
ScreenFontStyle node tooltip: (X3D version 3.2 or later) [X3DFontStyleNode] ScreenFontStyle is an X3DFontStyleNode defines the size, family, justification, and other styles used within a screen layout. ScreenFontStyle renders text so that it appears identical to typical 2D applications by specifying pointSize in points (as in 2D document layout) rather than size in meters. Each glyph of text is rendered as a quadrilateral with a texture applied.
- Hint: first add a Text node as a parent.
- Hint: Wikipedia https://en.wikipedia.org/wiki/Font
- Hint: Wikipedia https://en.wikipedia.org/wiki/Typeface
Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
String constant COMPONENT defines X3D component for the ScreenFontStyle element: Layoutstatic final String
containerField describes typical field relationship of a node to its parent.MFString field named family has default quoted value new String[] {"SERIF"} (Java syntax) or quoted value "SERIF" (XML syntax).static final String
Tooltip: default font family for sans-serif font such as Helvetica.static final String
Tooltip: default font family for serif font such as Times-Roman.static final String
Tooltip: default font family for a fixed-pitch font such as Courier.static final String
fromField ROUTE name for MFString field named family.static final String
fromField ROUTE name for SFBool field named horizontal.static final String
fromField ROUTE name for SFNode field named IS.static final String
fromField ROUTE name for MFString field named justify.static final String
fromField ROUTE name for SFString field named language.static final String
fromField ROUTE name for SFBool field named leftToRight.static final String
fromField ROUTE name for SFNode field named metadata.static final String
fromField ROUTE name for SFFloat field named pointSize.static final String
fromField ROUTE name for SFFloat field named spacing.static final String
fromField ROUTE name for SFString field named style.static final String
fromField ROUTE name for SFBool field named topToBottom.static final boolean
SFBool field named horizontal has default value true (Java syntax) or true (XML syntax).static final IS
SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "BEGIN" (Java syntax) or '"BEGIN"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"BEGIN\" \"BEGIN\"" (Java syntax) or '"BEGIN" "BEGIN"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"BEGIN\" \"END\"" (Java syntax) or '"BEGIN" "END"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"BEGIN\" \"FIRST\"" (Java syntax) or '"BEGIN" "FIRST"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"BEGIN\" \"MIDDLE\"" (Java syntax) or '"BEGIN" "MIDDLE"' (XML syntax).MFString field named justify has default quoted value new String[] {"BEGIN"} (Java syntax) or quoted value "BEGIN" (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "END" (Java syntax) or '"END"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"END\" \"BEGIN\"" (Java syntax) or '"END" "BEGIN"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"END\" \"END\"" (Java syntax) or '"END" "END"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"END\" \"FIRST\"" (Java syntax) or '"END" "FIRST"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"END\" \"MIDDLE\"" (Java syntax) or '"END" "MIDDLE"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "FIRST" (Java syntax) or '"FIRST"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FIRST\" \"BEGIN\"" (Java syntax) or '"FIRST" "BEGIN"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FIRST\" \"END\"" (Java syntax) or '"FIRST" "END"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FIRST\" \"FIRST\"" (Java syntax) or '"FIRST" "FIRST"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FIRST\" \"MIDDLE\"" (Java syntax) or '"FIRST" "MIDDLE"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "MIDDLE" (Java syntax) or '"MIDDLE"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"MIDDLE\" \"BEGIN\"" (Java syntax) or '"MIDDLE" "BEGIN"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"MIDDLE\" \"END\"" (Java syntax) or '"MIDDLE" "END"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"MIDDLE\" \"FIRST\"" (Java syntax) or '"MIDDLE" "FIRST"' (XML syntax).static final String
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"MIDDLE\" \"MIDDLE\"" (Java syntax) or '"MIDDLE" "MIDDLE"' (XML syntax).static final String
SFString field named language has default value equal to an empty string.static final boolean
SFBool field named leftToRight has default value true (Java syntax) or true (XML syntax).static final int
Integer constant LEVEL provides default X3D Layout component level for this element: 2static final X3DMetadataObject
SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).static final String
String constant NAME provides name of this element: ScreenFontStyle.static final float
SFFloat field named pointSize has default value 12.0f (Java syntax) or 12.0 (XML syntax).static final float
SFFloat field named spacing has default value 1.0f (Java syntax) or 1.0 (XML syntax).static final String
Tooltip: boldface type.static final String
Tooltip: bold and italic type.static final String
SFString field named style has default value "PLAIN" (Java syntax) or PLAIN (XML syntax).static final String
Tooltip: italic type.static final String
Tooltip: default plain type.static final String
toField ROUTE name for MFString field named family.static final String
toField ROUTE name for SFBool field named horizontal.static final String
toField ROUTE name for MFString field named justify.static final String
toField ROUTE name for SFString field named language.static final String
toField ROUTE name for SFBool field named leftToRight.static final String
toField ROUTE name for SFNode field named metadata.static final String
toField ROUTE name for SFFloat field named pointSize.static final String
toField ROUTE name for SFFloat field named spacing.static final String
toField ROUTE name for SFString field named style.static final String
toField ROUTE name for SFBool field named topToBottom.static final boolean
SFBool field named topToBottom has default value true (Java syntax) or true (XML syntax).Fields inherited from class org.web3d.x3d.jsail.X3DConcreteNode
containerField_ALLOWED_VALUES, containerFieldOverride, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUE
Fields inherited from class org.web3d.x3d.jsail.X3DConcreteElement
CLASS_DEFAULT_VALUE, ID_DEFAULT_VALUE, validationResult
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for ScreenFontStyle to initialize member variables with default values.ScreenFontStyle
(String DEFlabel) Utility constructor that assigns DEF label after initializing member variables with default values. -
Method Summary
Modifier and TypeMethodDescriptionaddComments
(String newComment) Add comment as String to contained commentsList.addComments
(String[] newComments) Add comments as String[] array to contained commentsList.addComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to contained commentsList.Add singleton String value to MFString family field.Add singleton SFString value to MFString family field.addJustify
(String newValue) Add singleton String value to MFString justify field.addJustify
(SFString newValue) Add singleton SFString value to MFString justify field.Utility method to clear MFString value of family field.clearIS()
Utility method to clear SFNode value of IS field.Utility method to clear MFString value of justify field.Utility method to clear SFNode value of metadata field.findElementByNameValue
(String nameValue) Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.findElementByNameValue
(String nameValue, String elementName) Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.findNodeByDEF
(String DEFvalue) Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.getAccessType
(String fieldName) Indicate accessType corresponding to given fieldName.final String
Defines X3D component for the ScreenFontStyle element: Layoutfinal int
Provides default X3D component level for this element: 2final String
containerField describes typical field relationship of a node to its parent.Provide String value from inputOutput SFString field named class.getDEF()
Provide String value from inputOutput SFString field named DEF.final String
Provides name of this element: ScreenFontStyleString[]
Provide array of String enumeration results (baseType MFString) ['"SANS"' | '"SERIF"' | '"TYPEWRITER"' | '"etc."'] from inputOutput MFString field named family.Utility method to get ArrayList value of MFString family field, similar togetFamily()
.Utility method to get String value of MFString family field, similar togetFamily()
.getFieldType
(String fieldName) Indicate type corresponding to given fieldName.boolean
Provide boolean value from inputOutput SFBool field named horizontal.Provide String value from inputOutput SFString field named id.getIS()
Provide IS instance (using a properly typed node) from inputOutput SFNode field IS.String[]
Provide array of String enumeration results (baseType MFString) ['"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 inputOutput MFString field named justify.Utility method to get ArrayList value of MFString justify field, similar togetJustify()
.Utility method to get String value of MFString justify field, similar togetJustify()
.Provide String value from inputOutput SFString field named language.boolean
Provide boolean value from inputOutput SFBool field named leftToRight.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.float
Provide float value within allowed range of (0,infinity) from inputOutput SFFloat field named pointSize.float
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named spacing.getStyle()
Provide String enumeration value (baseType xs:NMTOKEN) ["PLAIN" | "BOLD" | "ITALIC" | "BOLDITALIC"] from inputOutput SFString field named style.boolean
Provide boolean value from inputOutput SFBool field named topToBottom.getUSE()
Provide String value from inputOutput SFString field named USE.boolean
hasElementByNameValue
(String nameValue, String elementName) Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.boolean
hasIS()
Indicate whether an object is available for inputOutput SFNode field IS.boolean
Indicate whether an object is available for inputOutput SFNode field metadata.boolean
hasNodeByDEF
(String DEFvalue) Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.final void
Initialize all member variables to default values.final ScreenFontStyle
setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final ScreenFontStyle
setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final ScreenFontStyle
Accessor method to assign String value to inputOutput SFString field named DEF.Assign typed object value to SFString DEF field, similar tosetDEF(String)
.Assign singleton String value to MFString family field, similar tosetFamily(String[])
.Accessor method to assign String enumeration array (""SANS"" | ""SERIF"" | ""TYPEWRITER"") to inputOutput MFString field named family.Assign ArrayList value of MFString family field, similar tosetFamily(String[])
.Assign typed object value to MFString family field, similar tosetFamily(String[])
.Assign single SFString object value to MFString family field, similar tosetFamily(String[])
.setHorizontal
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named horizontal.setHorizontal
(SFBool newValue) Assign typed object value to SFBool horizontal field, similar tosetHorizontal(boolean)
.final ScreenFontStyle
Accessor method to assign String value to inputOutput SFString field named id.Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.setJustify
(String newValue) Assign singleton String value to MFString justify field, similar tosetJustify(String[])
.setJustify
(String[] newValue) Accessor method to 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"") to inputOutput MFString field named justify.setJustify
(ArrayList<String> newValue) Assign ArrayList value of MFString justify field, similar tosetJustify(String[])
.setJustify
(MFString newValue) Assign typed object value to MFString justify field, similar tosetJustify(String[])
.setJustify
(SFString newValue) Assign single SFString object value to MFString justify field, similar tosetJustify(String[])
.setLanguage
(String newValue) Accessor method to assign String value to inputOutput SFString field named language.setLanguage
(SFString newValue) Assign typed object value to SFString language field, similar tosetLanguage(String)
.setLeftToRight
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named leftToRight.setLeftToRight
(SFBool newValue) Assign typed object value to SFBool leftToRight field, similar tosetLeftToRight(boolean)
.setMetadata
(ProtoInstance newValue) Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setPointSize
(double newValue) Utility method: double-precision set-parameter accessor for X3D floating-point type, similar tosetPointSize(float)
.setPointSize
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named pointSize.setPointSize
(SFFloat newValue) Assign typed object value to SFFloat pointSize field, similar tosetPointSize(float)
.setSpacing
(double newValue) Utility method: double-precision set-parameter accessor for X3D floating-point type, similar tosetSpacing(float)
.setSpacing
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named spacing.setSpacing
(SFFloat newValue) Assign typed object value to SFFloat spacing field, similar tosetSpacing(float)
.Accessor method to assign String enumeration value ("PLAIN" | "BOLD" | "ITALIC" | "BOLDITALIC") to inputOutput SFString field named style.Assign typed object value to SFString style field, similar tosetStyle(String)
.setTopToBottom
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named topToBottom.setTopToBottom
(SFBool newValue) Assign typed object value to SFBool topToBottom field, similar tosetTopToBottom(boolean)
.final ScreenFontStyle
Accessor method to assign String value to inputOutput SFString field named USE.Assign typed object value to SFString USE field, similar tosetUSE(String)
.setUSE
(ScreenFontStyle DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.toStringClassicVRML
(int indentLevel) Recursive method to provide ClassicVRML string serialization.toStringVRML97
(int indentLevel) Recursive method to provide VRML97 string serialization.toStringX3D
(int indentLevel) Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.validate()
Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.Methods inherited from class org.web3d.x3d.jsail.X3DConcreteNode
getContainerFieldAllowedValues, getContainerFieldOverride, getName, hasDEF, hasNameField, hasUSE, includesNameField, isNode, isStatement, resetContainerFieldOverride, setConcreteDEF, setConcreteUSE, setContainerFieldOverride
Methods inherited from class org.web3d.x3d.jsail.X3DConcreteElement
addComments, clearParent, findAncestorElementByName, findAncestorProtoBody, findAncestorScene, findAncestorX3D, getCssStyle, getPackageName, getParent, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorScene, hasAncestorX3D, hasParent, isValid, setConcreteCssClass, setConcreteCssStyle, setConcreteHtmlID, setParent, toStringClassicVRML, toStringVRML97, toStringX3D
-
Field Details
-
FAMILY_SANS
Tooltip: default font family for sans-serif font such as Helvetica. MFString field named family with X3DUOM simpleType fontFamilyValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "SANS" (Java syntax) or '"SANS"' (XML syntax).- See Also:
-
FAMILY_SERIF
Tooltip: default font family for serif font such as Times-Roman. MFString field named family with X3DUOM simpleType fontFamilyValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "SERIF" (Java syntax) or '"SERIF"' (XML syntax).- See Also:
-
FAMILY_TYPEWRITER
Tooltip: default font family for a fixed-pitch font such as Courier. MFString field named family with X3DUOM simpleType fontFamilyValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "TYPEWRITER" (Java syntax) or '"TYPEWRITER"' (XML syntax).- See Also:
-
JUSTIFY_MIDDLE
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "MIDDLE" (Java syntax) or '"MIDDLE"' (XML syntax).- See Also:
-
JUSTIFY_MIDDLE_BEGIN
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"MIDDLE\" \"BEGIN\"" (Java syntax) or '"MIDDLE" "BEGIN"' (XML syntax).- See Also:
-
JUSTIFY_MIDDLE_END
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"MIDDLE\" \"END\"" (Java syntax) or '"MIDDLE" "END"' (XML syntax).- See Also:
-
JUSTIFY_MIDDLE_FIRST
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"MIDDLE\" \"FIRST\"" (Java syntax) or '"MIDDLE" "FIRST"' (XML syntax).- See Also:
-
JUSTIFY_MIDDLE_MIDDLE
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"MIDDLE\" \"MIDDLE\"" (Java syntax) or '"MIDDLE" "MIDDLE"' (XML syntax).- See Also:
-
JUSTIFY_BEGIN
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "BEGIN" (Java syntax) or '"BEGIN"' (XML syntax).- See Also:
-
JUSTIFY_BEGIN_BEGIN
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"BEGIN\" \"BEGIN\"" (Java syntax) or '"BEGIN" "BEGIN"' (XML syntax).- See Also:
-
JUSTIFY_BEGIN_END
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"BEGIN\" \"END\"" (Java syntax) or '"BEGIN" "END"' (XML syntax).- See Also:
-
JUSTIFY_BEGIN_FIRST
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"BEGIN\" \"FIRST\"" (Java syntax) or '"BEGIN" "FIRST"' (XML syntax).- See Also:
-
JUSTIFY_BEGIN_MIDDLE
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"BEGIN\" \"MIDDLE\"" (Java syntax) or '"BEGIN" "MIDDLE"' (XML syntax).- See Also:
-
JUSTIFY_END
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "END" (Java syntax) or '"END"' (XML syntax).- See Also:
-
JUSTIFY_END_BEGIN
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"END\" \"BEGIN\"" (Java syntax) or '"END" "BEGIN"' (XML syntax).- See Also:
-
JUSTIFY_END_END
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"END\" \"END\"" (Java syntax) or '"END" "END"' (XML syntax).- See Also:
-
JUSTIFY_END_FIRST
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"END\" \"FIRST\"" (Java syntax) or '"END" "FIRST"' (XML syntax).- See Also:
-
JUSTIFY_END_MIDDLE
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"END\" \"MIDDLE\"" (Java syntax) or '"END" "MIDDLE"' (XML syntax).- See Also:
-
JUSTIFY_FIRST
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "FIRST" (Java syntax) or '"FIRST"' (XML syntax).- See Also:
-
JUSTIFY_FIRST_BEGIN
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FIRST\" \"BEGIN\"" (Java syntax) or '"FIRST" "BEGIN"' (XML syntax).- See Also:
-
JUSTIFY_FIRST_END
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FIRST\" \"END\"" (Java syntax) or '"FIRST" "END"' (XML syntax).- See Also:
-
JUSTIFY_FIRST_FIRST
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FIRST\" \"FIRST\"" (Java syntax) or '"FIRST" "FIRST"' (XML syntax).- See Also:
-
JUSTIFY_FIRST_MIDDLE
MFString field named justify with X3DUOM simpleType justifyChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FIRST\" \"MIDDLE\"" (Java syntax) or '"FIRST" "MIDDLE"' (XML syntax).- See Also:
-
STYLE_PLAIN
Tooltip: default plain type. SFString field named style with X3DUOM simpleType fontStyleChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "PLAIN" (Java syntax) or PLAIN (XML syntax).- See Also:
-
STYLE_BOLD
Tooltip: boldface type. SFString field named style with X3DUOM simpleType fontStyleChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "BOLD" (Java syntax) or BOLD (XML syntax).- See Also:
-
STYLE_ITALIC
Tooltip: italic type. SFString field named style with X3DUOM simpleType fontStyleChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "ITALIC" (Java syntax) or ITALIC (XML syntax).- See Also:
-
STYLE_BOLDITALIC
Tooltip: bold and italic type. SFString field named style with X3DUOM simpleType fontStyleChoices and with X3DUOM baseType xs:NMTOKEN can equal this value "BOLDITALIC" (Java syntax) or BOLDITALIC (XML syntax).- See Also:
-
NAME
String constant NAME provides name of this element: ScreenFontStyle.- See Also:
-
COMPONENT
String constant COMPONENT defines X3D component for the ScreenFontStyle element: Layout- See Also:
-
LEVEL
public static final int LEVELInteger constant LEVEL provides default X3D Layout component level for this element: 2- See Also:
-
FAMILY_DEFAULT_VALUE
-
HORIZONTAL_DEFAULT_VALUE
public static final boolean HORIZONTAL_DEFAULT_VALUESFBool field named horizontal has default value true (Java syntax) or true (XML syntax).- See Also:
-
IS_DEFAULT_VALUE
SFNode field named IS has default value null (Java syntax) or NULL (XML syntax). -
JUSTIFY_DEFAULT_VALUE
-
LANGUAGE_DEFAULT_VALUE
SFString field named language has default value equal to an empty string.- See Also:
-
LEFTTORIGHT_DEFAULT_VALUE
public static final boolean LEFTTORIGHT_DEFAULT_VALUESFBool field named leftToRight has default value true (Java syntax) or true (XML syntax).- See Also:
-
METADATA_DEFAULT_VALUE
SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax). -
POINTSIZE_DEFAULT_VALUE
public static final float POINTSIZE_DEFAULT_VALUESFFloat field named pointSize has default value 12.0f (Java syntax) or 12.0 (XML syntax).- See Also:
-
SPACING_DEFAULT_VALUE
public static final float SPACING_DEFAULT_VALUESFFloat field named spacing has default value 1.0f (Java syntax) or 1.0 (XML syntax).- See Also:
-
STYLE_DEFAULT_VALUE
SFString field named style has default value "PLAIN" (Java syntax) or PLAIN (XML syntax).- See Also:
-
TOPTOBOTTOM_DEFAULT_VALUE
public static final boolean TOPTOBOTTOM_DEFAULT_VALUESFBool field named topToBottom has default value true (Java syntax) or true (XML syntax).- See Also:
-
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, this default value is provided for informational purposes only.
containerField_DEFAULT_VALUE = "fontStyle";
containerField_ALLOWED_VALUES = {"fontStyle" }; type xs:NMTOKEN- See Also:
-
fromField_FAMILY
fromField ROUTE name for MFString field named family.- See Also:
-
toField_FAMILY
toField ROUTE name for MFString field named family.- See Also:
-
fromField_HORIZONTAL
fromField ROUTE name for SFBool field named horizontal.- See Also:
-
toField_HORIZONTAL
toField ROUTE name for SFBool field named horizontal.- See Also:
-
fromField_IS
-
fromField_JUSTIFY
fromField ROUTE name for MFString field named justify.- See Also:
-
toField_JUSTIFY
toField ROUTE name for MFString field named justify.- See Also:
-
fromField_LANGUAGE
fromField ROUTE name for SFString field named language.- See Also:
-
toField_LANGUAGE
toField ROUTE name for SFString field named language.- See Also:
-
fromField_LEFTTORIGHT
fromField ROUTE name for SFBool field named leftToRight.- See Also:
-
toField_LEFTTORIGHT
toField ROUTE name for SFBool field named leftToRight.- See Also:
-
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.- See Also:
-
toField_METADATA
toField ROUTE name for SFNode field named metadata.- See Also:
-
fromField_POINTSIZE
fromField ROUTE name for SFFloat field named pointSize.- See Also:
-
toField_POINTSIZE
toField ROUTE name for SFFloat field named pointSize.- See Also:
-
fromField_SPACING
fromField ROUTE name for SFFloat field named spacing.- See Also:
-
toField_SPACING
toField ROUTE name for SFFloat field named spacing.- See Also:
-
fromField_STYLE
fromField ROUTE name for SFString field named style.- See Also:
-
toField_STYLE
toField ROUTE name for SFString field named style.- See Also:
-
fromField_TOPTOBOTTOM
fromField ROUTE name for SFBool field named topToBottom.- See Also:
-
toField_TOPTOBOTTOM
toField ROUTE name for SFBool field named topToBottom.- See Also:
-
-
Constructor Details
-
ScreenFontStyle
public ScreenFontStyle()Constructor for ScreenFontStyle to initialize member variables with default values. -
ScreenFontStyle
Utility constructor that assigns DEF label after initializing member variables with default values.- Parameters:
DEFlabel
- unique DEF name for this X3D node
-
-
Method Details
-
getElementName
Provides name of this element: ScreenFontStyle- Specified by:
getElementName
in classX3DConcreteElement
- Returns:
- name of this element
-
getComponent
Defines X3D component for the ScreenFontStyle element: Layout- Specified by:
getComponent
in classX3DConcreteElement
- Returns:
- X3D component for this element
-
getComponentLevel
public final int getComponentLevel()Provides default X3D component level for this element: 2- Specified by:
getComponentLevel
in classX3DConcreteElement
- Returns:
- default X3D component level for this element
-
getFieldType
Indicate type corresponding to given fieldName.- Specified by:
getFieldType
in classX3DConcreteElement
- Parameters:
fieldName
- name of field in this X3D node- Returns:
- X3D type (SFvec3f etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPE if not recognized
- See Also:
-
getAccessType
Indicate accessType corresponding to given fieldName.- Specified by:
getAccessType
in classX3DConcreteElement
- Parameters:
fieldName
- name of field in this X3D node- Returns:
- X3D accessType (inputOnly etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPE if not recognized
- See Also:
-
getContainerFieldDefault
containerField describes typical field relationship of a node to its parent. Programmer usage is not ordinarily needed when using this API, since this default value is provided for informational purposes only.- Specified by:
getContainerFieldDefault
in classX3DConcreteNode
- Returns:
- default containerField value
- See Also:
-
initialize
public final void initialize()Initialize all member variables to default values.- Overrides:
initialize
in classX3DConcreteNode
-
getCssClass
Provide String value from inputOutput SFString field named class.- Overrides:
getCssClass
in classX3DConcreteElement
- Returns:
- value of class field
- See Also:
-
setCssClass
Accessor method to assign String value to inputOutput SFString field named class.- Specified by:
setCssClass
in classX3DConcreteNode
- Parameters:
newValue
- is new value for the class field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setCssClass
Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.- Parameters:
newValue
- is new value for the class field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getFamily
Provide array of String enumeration results (baseType MFString) ['"SANS"' | '"SERIF"' | '"TYPEWRITER"' | '"etc."'] from inputOutput MFString field named family.
Tooltip: Array of quoted font family names in preference order, browsers use the first supported family.- Hint: example family array might be "Times" "SERIF"
- Warning: font family support often varies.
- Hint: values with guaranteed support include "SERIF" "SANS" "TYPEWRITER".
- Hint: SERIF and SANS are variable-width fonts (for example, Times Roman and Arial).
- Hint: TYPEWRITER is a fixed-width font (for example, Courier).
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
- Hint: see 15.2.2.2 Font family and style https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Fontfamilyandstyle for details.
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
Available enumeration values for string comparison:SANS
,SERIF
,TYPEWRITER
.- Specified by:
getFamily
in interfaceScreenFontStyle
- Returns:
- value of family field
-
getFamilyList
Utility method to get ArrayList value of MFString family field, similar togetFamily()
.- Returns:
- value of family field
-
getFamilyString
Utility method to get String value of MFString family field, similar togetFamily()
.- Returns:
- value of family field
-
setFamily
Accessor method to assign String enumeration array (""SANS"" | ""SERIF"" | ""TYPEWRITER"") to inputOutput MFString field named family.
Hint: authors have option to choose from an extendible list of predefined enumeration values (SANS
,SERIF
,TYPEWRITER
).
Tooltip: Array of quoted font family names in preference order, browsers use the first supported family.- Hint: example family array might be "Times" "SERIF"
- Warning: font family support often varies.
- Hint: values with guaranteed support include "SERIF" "SANS" "TYPEWRITER".
- Hint: SERIF and SANS are variable-width fonts (for example, Times Roman and Arial).
- Hint: TYPEWRITER is a fixed-width font (for example, Courier).
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
- Hint: see 15.2.2.2 Font family and style https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Fontfamilyandstyle for details.
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
setFamily
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the family field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setFamily
Assign typed object value to MFString family field, similar tosetFamily(String[])
.- Parameters:
newValue
- is new value for the family field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setFamily
Assign single SFString object value to MFString family field, similar tosetFamily(String[])
.- Parameters:
newValue
- is new value for the family field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setFamily
Assign singleton String value to MFString family field, similar tosetFamily(String[])
.- Parameters:
newValue
- is new value for the family field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setFamily
Assign ArrayList value of MFString family field, similar tosetFamily(String[])
.- Parameters:
newValue
- is new value for the family field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearFamily
Utility method to clear MFString value of family field. This method does not initialize withFAMILY_DEFAULT_VALUE.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addFamily
Add singleton String value to MFString family field.- Parameters:
newValue
- is new value to add to the family field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
addFamily
Add singleton SFString value to MFString family field.- Parameters:
newValue
- is new value to add to the family field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getHorizontal
public boolean getHorizontal()Provide boolean value from inputOutput SFBool field named horizontal.
Tooltip: Whether text direction is horizontal (true) or vertical (false).- Hint: see 15.2.2.3 Direction and justification https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Directionandjustification for details.
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
getHorizontal
in interfaceScreenFontStyle
- Returns:
- value of horizontal field
-
setHorizontal
Accessor method to assign boolean value to inputOutput SFBool field named horizontal.
Tooltip: Whether text direction is horizontal (true) or vertical (false).- Hint: see 15.2.2.3 Direction and justification https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Directionandjustification for details.
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
setHorizontal
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the horizontal field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setHorizontal
Assign typed object value to SFBool horizontal field, similar tosetHorizontal(boolean)
.- Parameters:
newValue
- is new value for the horizontal field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getHtmlID
Provide String value from inputOutput SFString field named id.- Overrides:
getHtmlID
in classX3DConcreteElement
- Returns:
- value of id field
- See Also:
-
setHtmlID
Accessor method to assign String value to inputOutput SFString field named id.- Specified by:
setHtmlID
in classX3DConcreteNode
- Parameters:
newValue
- is new value for the id field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setHtmlID
Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.- Parameters:
newValue
- is new value for the id field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIS
Provide IS instance (using a properly typed node) from inputOutput SFNode field IS.- Specified by:
getIS
in classX3DConcreteNode
- Returns:
- value of IS field
- See Also:
-
setIS
Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.- Specified by:
setIS
in classX3DConcreteNode
- Parameters:
newValue
- is new value for the IS field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
clearIS
Utility method to clear SFNode value of IS field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
hasIS
public boolean hasIS()Indicate whether an object is available for inputOutput SFNode field IS.- Returns:
- whether a concrete statement or CommentsBlock is available.
- See Also:
-
getJustify
Provide array of String enumeration results (baseType MFString) ['"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 inputOutput MFString field named justify.
Tooltip: The justify field determines horizontal and vertical alignment of text layout, relative to the origin of the object coordinate system.- Hint: preferred value is usually justify=' "MIDDLE" "MIDDLE" ' for centered justification horizontally and vertically.
- Warning: exactly two string values are provided for major and minor axis alignment.
- Warning: do not use illegal values such as LEFT RIGHT TOP BOTTOM or CENTER.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
- Hint: see 15.2.2.3 Direction and justification https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Directionandjustification for details.
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
Available enumeration values for string comparison: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
.- Specified by:
getJustify
in interfaceScreenFontStyle
- Returns:
- value of justify field
-
getJustifyList
Utility method to get ArrayList value of MFString justify field, similar togetJustify()
.- Returns:
- value of justify field
-
getJustifyString
Utility method to get String value of MFString justify field, similar togetJustify()
.- Returns:
- value of justify field
-
setJustify
Accessor method to 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"") to inputOutput MFString field named justify.
Warning: authors can only choose from a strict list of enumeration values (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
).
Tooltip: The justify field determines horizontal and vertical alignment of text layout, relative to the origin of the object coordinate system.- Hint: preferred value is usually justify=' "MIDDLE" "MIDDLE" ' for centered justification horizontally and vertically.
- Warning: exactly two string values are provided for major and minor axis alignment.
- Warning: do not use illegal values such as LEFT RIGHT TOP BOTTOM or CENTER.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
- Hint: see 15.2.2.3 Direction and justification https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Directionandjustification for details.
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
setJustify
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the justify field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setJustify
Assign typed object value to MFString justify field, similar tosetJustify(String[])
.- Parameters:
newValue
- is new value for the justify field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setJustify
Assign single SFString object value to MFString justify field, similar tosetJustify(String[])
.- Parameters:
newValue
- is new value for the justify field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setJustify
Assign singleton String value to MFString justify field, similar tosetJustify(String[])
.- Parameters:
newValue
- is new value for the justify field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setJustify
Assign ArrayList value of MFString justify field, similar tosetJustify(String[])
.- Parameters:
newValue
- is new value for the justify field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearJustify
Utility method to clear MFString value of justify field. This method does not initialize withJUSTIFY_DEFAULT_VALUE.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addJustify
Add singleton String value to MFString justify field.- Parameters:
newValue
- is new value to add to the justify field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
addJustify
Add singleton SFString value to MFString justify field.- Parameters:
newValue
- is new value to add to the justify field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getLanguage
Provide String value from inputOutput SFString field named language.
Tooltip: Language codes consist of a primary code and a (possibly empty) series of subcodes. [ language-code = primary-code ( "-" subcode )* ] Two-letter primary codes are reserved for language abbreviations. Two-letter primary codes include en (English), fr (French), de (German), it (Italian), nl (Dutch), el (Greek), es (Spanish), pt (Portuguese), ar (Arabic), he (Hebrew), ru (Russian), zh (Chinese), ja (Japanese), hi (Hindi), ur (Urdu), and sa (Sanskrit). Any two-letter subcode is understood to be a country code.- Warning: do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
- Hint: see ISO639.2 Codes for the Representation of Names of Languages http://www.loc.gov/standards/iso639-2/php/code_list.php
- Hint: see RFC3066 Tags for the Identification of Languages https://tools.ietf.org/html/rfc3066
- Hint: see ISO3166 or http://xml.coverpages.org/languageIdentifiers.html
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
getLanguage
in interfaceScreenFontStyle
- Returns:
- value of language field
-
setLanguage
Accessor method to assign String value to inputOutput SFString field named language.
Tooltip: Language codes consist of a primary code and a (possibly empty) series of subcodes. [ language-code = primary-code ( "-" subcode )* ] Two-letter primary codes are reserved for language abbreviations. Two-letter primary codes include en (English), fr (French), de (German), it (Italian), nl (Dutch), el (Greek), es (Spanish), pt (Portuguese), ar (Arabic), he (Hebrew), ru (Russian), zh (Chinese), ja (Japanese), hi (Hindi), ur (Urdu), and sa (Sanskrit). Any two-letter subcode is understood to be a country code.- Warning: do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
- Hint: see ISO639.2 Codes for the Representation of Names of Languages http://www.loc.gov/standards/iso639-2/php/code_list.php
- Hint: see RFC3066 Tags for the Identification of Languages https://tools.ietf.org/html/rfc3066
- Hint: see ISO3166 or http://xml.coverpages.org/languageIdentifiers.html
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
setLanguage
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the language field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setLanguage
Assign typed object value to SFString language field, similar tosetLanguage(String)
.- Parameters:
newValue
- is new value for the language field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getLeftToRight
public boolean getLeftToRight()Provide boolean value from inputOutput SFBool field named leftToRight.
Tooltip: Whether text direction is left-to-right (true) or right-to-left (false).- Hint: see 15.2.2.3 Direction and justification https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Directionandjustification for details.
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
getLeftToRight
in interfaceScreenFontStyle
- Returns:
- value of leftToRight field
-
setLeftToRight
Accessor method to assign boolean value to inputOutput SFBool field named leftToRight.
Tooltip: Whether text direction is left-to-right (true) or right-to-left (false).- Hint: see 15.2.2.3 Direction and justification https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Directionandjustification for details.
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
setLeftToRight
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the leftToRight field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setLeftToRight
Assign typed object value to SFBool leftToRight field, similar tosetLeftToRight(boolean)
.- Parameters:
newValue
- is new value for the leftToRight field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadata
in interfaceScreenFontStyle
- Specified by:
getMetadata
in interfaceX3DFontStyleNode
- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadata
in interfaceScreenFontStyle
- Specified by:
setMetadata
in interfaceX3DFontStyleNode
- Specified by:
setMetadata
in interfaceX3DNode
- Specified by:
setMetadata
in classX3DConcreteNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
clearMetadata
Utility method to clear SFNode value of metadata field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
setMetadata
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadata
in classX3DConcreteNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
hasMetadata
public boolean hasMetadata()Indicate whether an object is available for inputOutput SFNode field metadata.- Returns:
- whether a properly typed node or ProtoInstance or CommentsBlock is available.
- See Also:
-
getPointSize
public float getPointSize()Provide float value within allowed range of (0,infinity) from inputOutput SFFloat field named pointSize.
Tooltip: (0,+infinity) pointSize field specifies the size of text in points. Nominal height (in local coordinate system) of text glyphs, also sets default spacing between adjacent lines of text.- Hint: pointSize replaces the size field of the FontStyle node.
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
getPointSize
in interfaceScreenFontStyle
- Returns:
- value of pointSize field
-
setPointSize
Accessor method to assign float value to inputOutput SFFloat field named pointSize.
Tooltip: (0,+infinity) pointSize field specifies the size of text in points. Nominal height (in local coordinate system) of text glyphs, also sets default spacing between adjacent lines of text.- Hint: pointSize replaces the size field of the FontStyle node.
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
setPointSize
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the pointSize field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setPointSize
Assign typed object value to SFFloat pointSize field, similar tosetPointSize(float)
.- Parameters:
newValue
- is new value for the pointSize field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setPointSize
Utility method: double-precision set-parameter accessor for X3D floating-point type, similar tosetPointSize(float)
.- Parameters:
newValue
- is new value for field- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getSpacing
public float getSpacing()Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named spacing.
Tooltip: [0,+infinity) Adjustment factor for line spacing between adjacent lines of text.- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
getSpacing
in interfaceScreenFontStyle
- Returns:
- value of spacing field
-
setSpacing
Accessor method to assign float value to inputOutput SFFloat field named spacing.
Tooltip: [0,+infinity) Adjustment factor for line spacing between adjacent lines of text.- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
setSpacing
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the spacing field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setSpacing
Assign typed object value to SFFloat spacing field, similar tosetSpacing(float)
.- Parameters:
newValue
- is new value for the spacing field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setSpacing
Utility method: double-precision set-parameter accessor for X3D floating-point type, similar tosetSpacing(float)
.- Parameters:
newValue
- is new value for field- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getStyle
Provide String enumeration value (baseType xs:NMTOKEN) ["PLAIN" | "BOLD" | "ITALIC" | "BOLDITALIC"] from inputOutput SFString field named style.
Tooltip: Pick one of four values for text style (PLAIN|BOLD|ITALIC|BOLDITALIC).- Warning: overloaded name for CSS style attribute.
- Warning: do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
- Hint: see 15.2.2.2 Font family and style https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Fontfamilyandstyle for details.
- Hint: overlapping functionality with CSS style attribute provides a "best of both worlds" approach. The style attribute provides an inline block of CSS source for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
- Hint: X3D Architecture Annex L, HTML authoring guidelines, CSS considerations https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/htmlGuidelines.html#CSS
- Hint: W3C Cascading Style Sheets https://www.w3.org/Style/CSS
- Hint: CSS Snapshot https://www.w3.org/TR/css-2018
- Hint: https://www.w3.org/TR/css-style-attr
- Hint: Wikibooks, XML - Managing Data Exchange/XSLT and Style Sheets https://en.wikibooks.org/wiki/XML_-_Managing_Data_Exchange/XSLT_and_Style_Sheets
Available enumeration values for string comparison:PLAIN
,BOLD
,ITALIC
,BOLDITALIC
.- Specified by:
getStyle
in interfaceScreenFontStyle
- Returns:
- value of style field
-
setStyle
Accessor method to assign String enumeration value ("PLAIN" | "BOLD" | "ITALIC" | "BOLDITALIC") to inputOutput SFString field named style.
Warning: authors can only choose from a strict list of enumeration values (PLAIN
,BOLD
,ITALIC
,BOLDITALIC
).
Tooltip: Pick one of four values for text style (PLAIN|BOLD|ITALIC|BOLDITALIC).- Warning: overloaded name for CSS style attribute.
- Warning: do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
- Hint: see 15.2.2.2 Font family and style https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Fontfamilyandstyle for details.
- Hint: overlapping functionality with CSS style attribute provides a "best of both worlds" approach. The style attribute provides an inline block of CSS source for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
- Hint: X3D Architecture Annex L, HTML authoring guidelines, CSS considerations https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/htmlGuidelines.html#CSS
- Hint: W3C Cascading Style Sheets https://www.w3.org/Style/CSS
- Hint: CSS Snapshot https://www.w3.org/TR/css-2018
- Hint: https://www.w3.org/TR/css-style-attr
- Hint: Wikibooks, XML - Managing Data Exchange/XSLT and Style Sheets https://en.wikibooks.org/wiki/XML_-_Managing_Data_Exchange/XSLT_and_Style_Sheets
- Specified by:
setStyle
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the style field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setStyle
Assign typed object value to SFString style field, similar tosetStyle(String)
.- Parameters:
newValue
- is new value for the style field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setCssStyle
Accessor method to assign String value to inputOutput SFString field named style.- Specified by:
setCssStyle
in classX3DConcreteNode
- Parameters:
newValue
- is new value for the style field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
setCssStyle
Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
. This attribute is only functional if the X3D model is loaded within an HTML page.- Parameters:
newValue
- is new value for the style field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getTopToBottom
public boolean getTopToBottom()Provide boolean value from inputOutput SFBool field named topToBottom.
Tooltip: Whether text direction is top-to-bottom (true) or bottom-to-top (false).- Hint: see 15.2.2.3 Direction and justification https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Directionandjustification for details.
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
getTopToBottom
in interfaceScreenFontStyle
- Returns:
- value of topToBottom field
-
setTopToBottom
Accessor method to assign boolean value to inputOutput SFBool field named topToBottom.
Tooltip: Whether text direction is top-to-bottom (true) or bottom-to-top (false).- Hint: see 15.2.2.3 Direction and justification https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/text.html#Directionandjustification for details.
- Hint: relates to Internationalization (i18n) http://www.w3.org/standards/webdesign/i18n
- Hint: accessType relaxed to inputOutput in order to support animation and user accessibility.
- Specified by:
setTopToBottom
in interfaceScreenFontStyle
- Parameters:
newValue
- is new value for the topToBottom field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setTopToBottom
Assign typed object value to SFBool topToBottom field, similar tosetTopToBottom(boolean)
.- Parameters:
newValue
- is new value for the topToBottom field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDEF
Provide String value from inputOutput SFString field named DEF.
Tooltip: DEF defines a unique ID name for this node, referenceable by other nodes.- Hint: descriptive DEF names improve clarity and help document a model.
- Hint: well-defined names can simplify design and debugging through improved author understanding.
- Hint: X3D Scene Authoring Hints, Naming Conventions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
- Overrides:
getDEF
in classX3DConcreteNode
- Returns:
- value of DEF field
- See Also:
-
setDEF
Accessor method to assign String value to inputOutput SFString field named DEF.
Tooltip: DEF defines a unique ID name for this node, referenceable by other nodes.- Hint: descriptive DEF names improve clarity and help document a model.
- Hint: well-defined names can simplify design and debugging through improved author understanding.
- Hint: X3D Scene Authoring Hints, Naming Conventions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
Note that setting the DEF value clears the USE value.- Specified by:
setDEF
in classX3DConcreteNode
- Parameters:
newValue
- is new value for the DEF field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setDEF
Assign typed object value to SFString DEF field, similar tosetDEF(String)
.- Parameters:
newValue
- is new value for the DEF field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUSE
Provide String value from inputOutput SFString field named USE.
Tooltip: USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).- Hint: USE references to previously defined DEF geometry (instead of duplicating nodes) can improve performance.
- Warning: do NOT include any child nodes, a DEF attribute, or any other attribute values (except for containerField) when defining a USE attribute.
- Warning: each USE value must match a corresponding DEF value that is defined earlier in the scene.
- Overrides:
getUSE
in classX3DConcreteNode
- Returns:
- value of USE field
- See Also:
-
setUSE
Accessor method to assign String value to inputOutput SFString field named USE.
Tooltip: USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).- Hint: USE references to previously defined DEF geometry (instead of duplicating nodes) can improve performance.
- Warning: do NOT include any child nodes, a DEF attribute, or any other attribute values (except for containerField) when defining a USE attribute.
- Warning: each USE value must match a corresponding DEF value that is defined earlier in the scene.
Note: eachUSE
node is still an independent object, with theUSE
value matching theDEF
value in the preceding object.
Warning: invoking thesetUSE()
method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
Warning: no other operations can be performed to modify a USE node other than setting an alternate containerField value.- Specified by:
setUSE
in classX3DConcreteNode
- Parameters:
newValue
- is new value for the USE field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUSE
Assign typed object value to SFString USE field, similar tosetUSE(String)
.- Parameters:
newValue
- is new value for the USE field.- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUSE
Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.
Warning: note that thesetUSE()
method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
Warning: no other operations can be performed to modify a USE node other than setting an alternate containerField value.- Parameters:
DEFnode
- must have a DEF value defined- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addComments
Add comment as String to contained commentsList.- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newComment
- initial value- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
addComments
Add comments as String[] array to contained commentsList.- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newComments
- array of comments- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addComments
Add CommentsBlock to contained commentsList.- Specified by:
addComments
in classX3DConcreteElement
- Parameters:
newCommentsBlock
- block of comments to add- Returns:
ScreenFontStyle
- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
toStringX3D
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.- Specified by:
toStringX3D
in classX3DConcreteElement
- Parameters:
indentLevel
- number of levels of indentation for this element- Returns:
- X3D string
- See Also:
-
toStringClassicVRML
Recursive method to provide ClassicVRML string serialization.- Specified by:
toStringClassicVRML
in classX3DConcreteElement
- Parameters:
indentLevel
- number of levels of indentation for this element- Returns:
- ClassicVRML string
- See Also:
-
toStringVRML97
Recursive method to provide VRML97 string serialization.- Specified by:
toStringVRML97
in classX3DConcreteElement
- Parameters:
indentLevel
- number of levels of indentation for this element- Returns:
- VRML97 string
- See Also:
-
findElementByNameValue
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same name, this method does not handle that case.- Specified by:
findElementByNameValue
in classX3DConcreteElement
- Parameters:
nameValue
- is value of the name field being searched for in this element and child elements(if any)- Returns:
- object reference to found element, null otherwise
- See Also:
-
findElementByNameValue
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same name, this method does not handle that case.- Specified by:
findElementByNameValue
in classX3DConcreteElement
- Parameters:
nameValue
- is value of the name field being searched for in this element and child elements(if any)elementName
- identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)- Returns:
- object reference to found element, null otherwise
- See Also:
-
hasElementByNameValue
Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.- Parameters:
nameValue
- is value of the name field being searched for in this element and child elements(if any)elementName
- identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)- Returns:
- whether node is found
- See Also:
-
findNodeByDEF
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
Warning: first start with findAncestorScene() to check entire scene graph, or findAncestorX3D() to check entire model document.
Warning: more than one element may be found that has the same DEF, this method does not handle that case.- Specified by:
findNodeByDEF
in classX3DConcreteElement
- Parameters:
DEFvalue
- is value of the name field being searched for in this element and child elements(if any)- Returns:
- object reference to found node, null otherwise
- See Also:
-
hasNodeByDEF
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.- Parameters:
DEFvalue
- is value of the name field being searched for in this element and child elements(if any)- Returns:
- whether node is found
- See Also:
-
validate
Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values. TODO document specific validation methods.- Specified by:
validate
in classX3DConcreteElement
- Returns:
- validation results (if any)
-