public class ScreenFontStyleObject extends X3DConcreteNode implements ScreenFontStyle
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the ScreenFontStyle element: Layout
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static java.util.ArrayList<java.lang.String> |
FAMILY_DEFAULT_VALUE
MFString field named family has default quoted value new String[] {"SERIF"} (Java syntax) or quoted value "SERIF" (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
FAMILY_SANS
MFString field named family is an array that can include this quoted enumeration value new String[] {"SANS"} (Java syntax) or '"SANS"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
FAMILY_SERIF
MFString field named family is an array that can include this quoted enumeration value new String[] {"SERIF"} (Java syntax) or '"SERIF"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
FAMILY_TYPEWRITER
MFString field named family is an array that can include this quoted enumeration value new String[] {"TYPEWRITER"} (Java syntax) or '"TYPEWRITER"' (XML syntax).
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static boolean |
HORIZONTAL_DEFAULT_VALUE
SFBool field named horizontal has default value true (Java syntax) or true (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_BEGIN
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"BEGIN"} (Java syntax) or '"BEGIN"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_BEGIN_BEGIN
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"BEGIN","BEGIN"} (Java syntax) or '"BEGIN" "BEGIN"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_BEGIN_END
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"BEGIN","END"} (Java syntax) or '"BEGIN" "END"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_BEGIN_FIRST
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"BEGIN","FIRST"} (Java syntax) or '"BEGIN" "FIRST"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_BEGIN_MIDDLE
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"BEGIN","MIDDLE"} (Java syntax) or '"BEGIN" "MIDDLE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_DEFAULT_VALUE
MFString field named justify has default quoted value new String[] {"BEGIN"} (Java syntax) or quoted value "BEGIN" (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_END
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"END"} (Java syntax) or '"END"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_END_BEGIN
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"END","BEGIN"} (Java syntax) or '"END" "BEGIN"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_END_END
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"END","END"} (Java syntax) or '"END" "END"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_END_FIRST
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"END","FIRST"} (Java syntax) or '"END" "FIRST"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_END_MIDDLE
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"END","MIDDLE"} (Java syntax) or '"END" "MIDDLE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_FIRST
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"FIRST"} (Java syntax) or '"FIRST"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_FIRST_BEGIN
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"FIRST","BEGIN"} (Java syntax) or '"FIRST" "BEGIN"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_FIRST_END
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"FIRST","END"} (Java syntax) or '"FIRST" "END"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_FIRST_FIRST
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"FIRST","FIRST"} (Java syntax) or '"FIRST" "FIRST"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_FIRST_MIDDLE
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"FIRST","MIDDLE"} (Java syntax) or '"FIRST" "MIDDLE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_MIDDLE
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"MIDDLE"} (Java syntax) or '"MIDDLE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_MIDDLE_BEGIN
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"MIDDLE","BEGIN"} (Java syntax) or '"MIDDLE" "BEGIN"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_MIDDLE_END
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"MIDDLE","END"} (Java syntax) or '"MIDDLE" "END"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_MIDDLE_FIRST
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"MIDDLE","FIRST"} (Java syntax) or '"MIDDLE" "FIRST"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
JUSTIFY_MIDDLE_MIDDLE
MFString field named justify is an array that can equal this quoted enumeration value new String[] {"MIDDLE","MIDDLE"} (Java syntax) or '"MIDDLE" "MIDDLE"' (XML syntax).
|
static java.lang.String |
LANGUAGE_DEFAULT_VALUE
SFString field named language has default value equal to an empty string.
|
static boolean |
LEFTTORIGHT_DEFAULT_VALUE
SFBool field named leftToRight has default value true (Java syntax) or true (XML syntax).
|
static int |
LEVEL
Integer constant LEVEL provides default X3D Layout component level for this element: 2
|
static java.lang.String |
NAME
String constant NAME provides name of this element: ScreenFontStyle.
|
static float |
POINTSIZE_DEFAULT_VALUE
SFFloat field named pointSize has default value 12.0f (Java syntax) or 12.0 (XML syntax).
|
static float |
SPACING_DEFAULT_VALUE
SFFloat field named spacing has default value 1.0f (Java syntax) or 1.0 (XML syntax).
|
static java.lang.String |
STYLE_BOLD
SFString field named style can equal this enumeration value "BOLD" (Java syntax) or BOLD (XML syntax).
|
static java.lang.String |
STYLE_BOLDITALIC
SFString field named style can equal this enumeration value "BOLDITALIC" (Java syntax) or BOLDITALIC (XML syntax).
|
static java.lang.String |
STYLE_DEFAULT_VALUE
SFString field named style has default value "PLAIN" (Java syntax) or PLAIN (XML syntax).
|
static java.lang.String |
STYLE_ITALIC
SFString field named style can equal this enumeration value "ITALIC" (Java syntax) or ITALIC (XML syntax).
|
static java.lang.String |
STYLE_PLAIN
SFString field named style can equal this enumeration value "PLAIN" (Java syntax) or PLAIN (XML syntax).
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static boolean |
TOPTOBOTTOM_DEFAULT_VALUE
SFBool field named topToBottom has default value true (Java syntax) or true (XML syntax).
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
ScreenFontStyleObject()
Constructor for ScreenFontStyleObject to initialize member variables with default values.
|
ScreenFontStyleObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
ScreenFontStyleObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
ScreenFontStyleObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
ScreenFontStyleObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
ScreenFontStyleObject |
addFamily(SFStringObject newValue)
Add singleton SFStringObject value to MFString family field.
|
ScreenFontStyleObject |
addFamily(java.lang.String newValue)
Add singleton String value to MFString family field.
|
ScreenFontStyleObject |
addJustify(SFStringObject newValue)
Add singleton SFStringObject value to MFString justify field.
|
ScreenFontStyleObject |
addJustify(java.lang.String newValue)
Add singleton String value to MFString justify field.
|
ScreenFontStyleObject |
clearFamily()
Utility method to clear MFString value of family field.
|
ScreenFontStyleObject |
clearJustify()
Utility method to clear MFString value of justify field.
|
ScreenFontStyleObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
X3DConcreteElement |
findElementByNameValue(java.lang.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.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue,
java.lang.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.
|
X3DConcreteNode |
findNodeByDEF(java.lang.String DEFvalue)
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
|
java.lang.String |
getAccessType(java.lang.String fieldName)
Indicate accessType corresponding to given fieldName.
|
java.lang.String |
getComponent()
Defines X3D component for the ScreenFontStyle element: Layout
|
int |
getComponentLevel()
Provides default X3D component level for this element: 2
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
java.lang.String |
getElementName()
Provides name of this element: ScreenFontStyle
|
java.lang.String[] |
getFamily()
Provide array of String enumeration results ['"SANS"'|'"SERIF"'|'"TYPEWRITER"'|'"etc."'] from initializeOnly MFString field named family.
|
java.util.ArrayList<java.lang.String> |
getFamilyList()
Utility method to get ArrayList value of MFString family field, similar to
getFamily(). |
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
boolean |
getHorizontal()
Provide boolean value from initializeOnly SFBool field named horizontal.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
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.util.ArrayList<java.lang.String> |
getJustifyList()
Utility method to get ArrayList value of MFString justify field, similar to
getJustify(). |
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 |
getPointSize()
Provide float value within allowed range of (0,infinity) from initializeOnly SFFloat field named pointSize.
|
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.
|
boolean |
hasElementByNameValue(java.lang.String nameValue,
java.lang.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 |
hasMetadata()
Indicate whether an object is available for inputOutput SFNode field metadata.
|
boolean |
hasNodeByDEF(java.lang.String DEFvalue)
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
|
void |
initialize()
Initialize all member variables to default values.
|
ScreenFontStyleObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
ScreenFontStyleObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ScreenFontStyleObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
ScreenFontStyleObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ScreenFontStyleObject |
setFamily(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString family field, similar to
setFamily(String[]). |
ScreenFontStyleObject |
setFamily(MFStringObject newValue)
Assign typed object value to MFString family field, similar to
setFamily(String[]). |
ScreenFontStyleObject |
setFamily(SFStringObject newValue)
Assign single SFString object value to MFString family field, similar to
setFamily(String[]). |
ScreenFontStyleObject |
setFamily(java.lang.String newValue)
Assign singleton String value to MFString family field, similar to
setFamily(String[]). |
ScreenFontStyleObject |
setFamily(java.lang.String[] newValue)
Assign String enumeration array (""SANS""|""SERIF""|""TYPEWRITER"") ['"SANS"'|'"SERIF"'|'"TYPEWRITER"'|'"etc."'] to initializeOnly MFString field named family.
|
ScreenFontStyleObject |
setHorizontal(boolean newValue)
Assign boolean value to initializeOnly SFBool field named horizontal.
|
ScreenFontStyleObject |
setHorizontal(SFBoolObject newValue)
Assign typed object value to SFBool horizontal field, similar to
setHorizontal(boolean). |
ScreenFontStyleObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
ScreenFontStyleObject |
setJustify(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString justify field, similar to
setJustify(String[]). |
ScreenFontStyleObject |
setJustify(MFStringObject newValue)
Assign typed object value to MFString justify field, similar to
setJustify(String[]). |
ScreenFontStyleObject |
setJustify(SFStringObject newValue)
Assign single SFString object value to MFString justify field, similar to
setJustify(String[]). |
ScreenFontStyleObject |
setJustify(java.lang.String newValue)
Assign singleton String value to MFString justify field, similar to
setJustify(String[]). |
ScreenFontStyleObject |
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.
|
ScreenFontStyleObject |
setLanguage(SFStringObject newValue)
Assign typed object value to SFString language field, similar to
setLanguage(String). |
ScreenFontStyleObject |
setLanguage(java.lang.String newValue)
Assign String value to initializeOnly SFString field named language.
|
ScreenFontStyleObject |
setLeftToRight(boolean newValue)
Assign boolean value to initializeOnly SFBool field named leftToRight.
|
ScreenFontStyleObject |
setLeftToRight(SFBoolObject newValue)
Assign typed object value to SFBool leftToRight field, similar to
setLeftToRight(boolean). |
ScreenFontStyleObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
ScreenFontStyleObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ScreenFontStyleObject |
setPointSize(float newValue)
Assign float value within allowed range of (0,infinity) to initializeOnly SFFloat field named pointSize.
|
ScreenFontStyleObject |
setPointSize(SFFloatObject newValue)
Assign typed object value to SFFloat pointSize field, similar to
setPointSize(float). |
ScreenFontStyleObject |
setSpacing(float newValue)
Assign float value within allowed range of [0,infinity) to initializeOnly SFFloat field named spacing.
|
ScreenFontStyleObject |
setSpacing(SFFloatObject newValue)
Assign typed object value to SFFloat spacing field, similar to
setSpacing(float). |
ScreenFontStyleObject |
setStyle(SFStringObject newValue)
Assign typed object value to SFString style field, similar to
setStyle(String). |
ScreenFontStyleObject |
setStyle(java.lang.String newValue)
Assign String enumeration value ("PLAIN"|"BOLD"|"ITALIC"|"BOLDITALIC") ['PLAIN'|'BOLD'|'ITALIC'|'BOLDITALIC'] to initializeOnly SFString field named style.
|
ScreenFontStyleObject |
setTopToBottom(boolean newValue)
Assign boolean value to initializeOnly SFBool field named topToBottom.
|
ScreenFontStyleObject |
setTopToBottom(SFBoolObject newValue)
Assign typed object value to SFBool topToBottom field, similar to
setTopToBottom(boolean). |
ScreenFontStyleObject |
setUSE(ScreenFontStyleObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
ScreenFontStyleObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
ScreenFontStyleObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String |
toStringClassicVRML(int indentLevel)
Recursive method to provide ClassicVRML string serialization.
|
java.lang.String |
toStringVRML97(int indentLevel)
Recursive method to provide VRML97 string serialization.
|
java.lang.String |
toStringX3D(int indentLevel)
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
|
java.lang.String |
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.
|
getContainerFieldAlternateValues, getContainerFieldOverride, getCssClass, getDEF, getUSE, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.util.ArrayList<java.lang.String> FAMILY_SANS
public static final java.util.ArrayList<java.lang.String> FAMILY_SERIF
public static final java.util.ArrayList<java.lang.String> FAMILY_TYPEWRITER
public static final java.util.ArrayList<java.lang.String> JUSTIFY_MIDDLE
public static final java.util.ArrayList<java.lang.String> JUSTIFY_MIDDLE_BEGIN
public static final java.util.ArrayList<java.lang.String> JUSTIFY_MIDDLE_END
public static final java.util.ArrayList<java.lang.String> JUSTIFY_MIDDLE_FIRST
public static final java.util.ArrayList<java.lang.String> JUSTIFY_MIDDLE_MIDDLE
public static final java.util.ArrayList<java.lang.String> JUSTIFY_BEGIN
public static final java.util.ArrayList<java.lang.String> JUSTIFY_BEGIN_BEGIN
public static final java.util.ArrayList<java.lang.String> JUSTIFY_BEGIN_END
public static final java.util.ArrayList<java.lang.String> JUSTIFY_BEGIN_FIRST
public static final java.util.ArrayList<java.lang.String> JUSTIFY_BEGIN_MIDDLE
public static final java.util.ArrayList<java.lang.String> JUSTIFY_END
public static final java.util.ArrayList<java.lang.String> JUSTIFY_END_BEGIN
public static final java.util.ArrayList<java.lang.String> JUSTIFY_END_END
public static final java.util.ArrayList<java.lang.String> JUSTIFY_END_FIRST
public static final java.util.ArrayList<java.lang.String> JUSTIFY_END_MIDDLE
public static final java.util.ArrayList<java.lang.String> JUSTIFY_FIRST
public static final java.util.ArrayList<java.lang.String> JUSTIFY_FIRST_BEGIN
public static final java.util.ArrayList<java.lang.String> JUSTIFY_FIRST_END
public static final java.util.ArrayList<java.lang.String> JUSTIFY_FIRST_FIRST
public static final java.util.ArrayList<java.lang.String> JUSTIFY_FIRST_MIDDLE
public static final java.lang.String STYLE_PLAIN
public static final java.lang.String STYLE_BOLD
public static final java.lang.String STYLE_ITALIC
public static final java.lang.String STYLE_BOLDITALIC
public static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final java.util.ArrayList<java.lang.String> FAMILY_DEFAULT_VALUE
public static final boolean HORIZONTAL_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> JUSTIFY_DEFAULT_VALUE
public static final java.lang.String LANGUAGE_DEFAULT_VALUE
public static final boolean LEFTTORIGHT_DEFAULT_VALUE
public static final float POINTSIZE_DEFAULT_VALUE
public static final float SPACING_DEFAULT_VALUE
public static final java.lang.String STYLE_DEFAULT_VALUE
public static final boolean TOPTOBOTTOM_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public ScreenFontStyleObject()
public ScreenFontStyleObject(java.lang.String DEFlabel)
DEFlabel - unique DEF name for this X3D nodepublic final java.lang.String getElementName()
getElementName in class X3DConcreteElementpublic final java.lang.String getComponent()
getComponent in class X3DConcreteElementpublic final int getComponentLevel()
getComponentLevel in class X3DConcreteElementpublic java.lang.String getFieldType(java.lang.String fieldName)
getFieldType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final java.lang.String getContainerFieldDefault()
getContainerFieldDefault in class X3DConcreteNodepublic final void initialize()
initialize in class X3DConcreteNodepublic java.lang.String[] getFamily()
SANS, SERIF, TYPEWRITER.getFamily in interface ScreenFontStylepublic java.util.ArrayList<java.lang.String> getFamilyList()
getFamily().public ScreenFontStyleObject setFamily(java.lang.String[] newValue)
SANS, SERIF, TYPEWRITER).
setFamily in interface ScreenFontStylenewValue - is new value for the family field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setFamily(MFStringObject newValue)
setFamily(String[]).newValue - is new value for the family field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setFamily(SFStringObject newValue)
setFamily(String[]).newValue - is new value for the family field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public ScreenFontStyleObject setFamily(java.lang.String newValue)
setFamily(String[]).newValue - is new value for the family field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public ScreenFontStyleObject setFamily(java.util.ArrayList<java.lang.String> newValue)
setFamily(String[]).newValue - is new value for the family field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject clearFamily()
ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ScreenFontStyleObject addFamily(java.lang.String newValue)
newValue - is new value to add to the family field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public ScreenFontStyleObject addFamily(SFStringObject newValue)
newValue - is new value to add to the family field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public boolean getHorizontal()
getHorizontal in interface ScreenFontStylepublic ScreenFontStyleObject setHorizontal(boolean newValue)
setHorizontal in interface ScreenFontStylenewValue - is new value for the horizontal field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setHorizontal(SFBoolObject newValue)
setHorizontal(boolean).newValue - is new value for the horizontal field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String[] getJustify()
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.getJustify in interface ScreenFontStylepublic java.util.ArrayList<java.lang.String> getJustifyList()
getJustify().public ScreenFontStyleObject setJustify(java.lang.String[] newValue)
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).
setJustify in interface ScreenFontStylenewValue - is new value for the justify field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setJustify(MFStringObject newValue)
setJustify(String[]).newValue - is new value for the justify field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setJustify(SFStringObject newValue)
setJustify(String[]).newValue - is new value for the justify field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public ScreenFontStyleObject setJustify(java.lang.String newValue)
setJustify(String[]).newValue - is new value for the justify field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public ScreenFontStyleObject setJustify(java.util.ArrayList<java.lang.String> newValue)
setJustify(String[]).newValue - is new value for the justify field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject clearJustify()
ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ScreenFontStyleObject addJustify(java.lang.String newValue)
newValue - is new value to add to the justify field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public ScreenFontStyleObject addJustify(SFStringObject newValue)
newValue - is new value to add to the justify field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public java.lang.String getLanguage()
getLanguage in interface ScreenFontStylepublic ScreenFontStyleObject setLanguage(java.lang.String newValue)
setLanguage in interface ScreenFontStylenewValue - is new value for the language field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setLanguage(SFStringObject newValue)
setLanguage(String).newValue - is new value for the language field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public boolean getLeftToRight()
getLeftToRight in interface ScreenFontStylepublic ScreenFontStyleObject setLeftToRight(boolean newValue)
setLeftToRight in interface ScreenFontStylenewValue - is new value for the leftToRight field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setLeftToRight(SFBoolObject newValue)
setLeftToRight(boolean).newValue - is new value for the leftToRight field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DMetadataObject getMetadata()
getMetadata in interface X3DNodegetMetadata in interface ScreenFontStylegetMetadata in interface X3DFontStyleNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic ScreenFontStyleObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface ScreenFontStylesetMetadata in interface X3DFontStyleNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic ScreenFontStyleObject clearMetadata()
ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ScreenFontStyleObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(X3DMetadataObject)public boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic float getPointSize()
getPointSize in interface ScreenFontStylepublic ScreenFontStyleObject setPointSize(float newValue)
setPointSize in interface ScreenFontStylenewValue - is new value for the pointSize field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setPointSize(SFFloatObject newValue)
setPointSize(float).newValue - is new value for the pointSize field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getSpacing()
getSpacing in interface ScreenFontStylepublic ScreenFontStyleObject setSpacing(float newValue)
setSpacing in interface ScreenFontStylenewValue - is new value for the spacing field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setSpacing(SFFloatObject newValue)
setSpacing(float).newValue - is new value for the spacing field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getStyle()
PLAIN, BOLD, ITALIC, BOLDITALIC.getStyle in interface ScreenFontStylepublic ScreenFontStyleObject setStyle(java.lang.String newValue)
PLAIN, BOLD, ITALIC, BOLDITALIC).
setStyle in interface ScreenFontStylenewValue - is new value for the style field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setStyle(SFStringObject newValue)
setStyle(String).newValue - is new value for the style field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public boolean getTopToBottom()
getTopToBottom in interface ScreenFontStylepublic ScreenFontStyleObject setTopToBottom(boolean newValue)
setTopToBottom in interface ScreenFontStylenewValue - is new value for the topToBottom field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setTopToBottom(SFBoolObject newValue)
setTopToBottom(boolean).newValue - is new value for the topToBottom field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final ScreenFontStyleObject setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface ScreenFontStylesetDEF in interface X3DFontStyleNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final ScreenFontStyleObject 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 X3DNodesetUSE in interface ScreenFontStylesetUSE in interface X3DFontStyleNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final ScreenFontStyleObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface ScreenFontStylesetCssClass in interface X3DFontStyleNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.ScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ISObject getIS()
getIS in class X3DConcreteNodepublic ScreenFontStyleObject setUSE(ScreenFontStyleObject DEFnode)
setUSE(String).
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
DEFnode - must have a DEF value definedScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ScreenFontStyleObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ScreenFontStyleObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ScreenFontStyleObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addScreenFontStyleObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String toStringX3D(int indentLevel)
toStringX3D in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_X3D,
X3DObject.FILE_EXTENSION_XML,
X3DObject.toStringXML(),
X3DObject.toFileXML(String),
X3DObject.toFileX3D(String),
X3D XML Encoding,
X3D Compressed Binary Encoding: X3D Canonical Formpublic java.lang.String toStringClassicVRML(int indentLevel)
toStringClassicVRML in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_CLASSICVRML,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Annex A: Grammarpublic java.lang.String toStringVRML97(int indentLevel)
toStringVRML97 in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_VRML97,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Virtual Reality Modeling Language (VRML) 97 specification,
VRML 97 v2.1 Amendmentpublic X3DConcreteElement findElementByNameValue(java.lang.String nameValue)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)
findElementByNameValue in class X3DConcreteElementnameValue - 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.)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
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.)findElementByNameValue(String, String)public X3DConcreteNode findNodeByDEF(java.lang.String DEFvalue)
findNodeByDEF in class X3DConcreteElementDEFvalue - is value of the name field being searched for in this element and child elements(if any)findElementByNameValue(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasNodeByDEF(java.lang.String DEFvalue)
DEFvalue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public java.lang.String validate()
validate in class X3DConcreteElementCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.