public class FontStyle extends X3DFontStyleNode
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{}X3DFontStyleNode">
<attribute name="family" type="{}MFString" default=""SERIF"" />
<attribute name="horizontal" type="{}SFBool" default="true" />
<attribute name="justify" type="{}MFString" default=""BEGIN"" />
<attribute name="language" type="{}SFString" />
<attribute name="leftToRight" type="{}SFBool" default="true" />
<attribute name="size" type="{}SFFloat" default="1.0" />
<attribute name="spacing" type="{}SFFloat" default="1.0" />
<attribute name="style" type="{}fontStyleValues" default="PLAIN" />
<attribute name="topToBottom" type="{}SFBool" default="true" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected MFString |
family |
protected SFBool |
horizontal |
protected MFString |
justify |
protected SFString |
language |
protected SFBool |
leftToRight |
protected SFFloat |
size |
protected SFFloat |
spacing |
protected FontStyleValues |
style |
protected SFBool |
topToBottom |
containerField| Constructor and Description |
|---|
FontStyle() |
| Modifier and Type | Method and Description |
|---|---|
MFString |
getFamily()
Gets the value of the family property.
|
MFString |
getJustify()
Gets the value of the justify property.
|
SFString |
getLanguage()
Gets the value of the language property.
|
SFFloat |
getSize()
Gets the value of the size property.
|
SFFloat |
getSpacing()
Gets the value of the spacing property.
|
FontStyleValues |
getStyle()
Gets the value of the style property.
|
SFBool |
isHorizontal()
Gets the value of the horizontal property.
|
SFBool |
isLeftToRight()
Gets the value of the leftToRight property.
|
SFBool |
isTopToBottom()
Gets the value of the topToBottom property.
|
void |
setHorizontal(SFBool value)
Sets the value of the horizontal property.
|
void |
setLanguage(SFString value)
Sets the value of the language property.
|
void |
setLeftToRight(SFBool value)
Sets the value of the leftToRight property.
|
void |
setSize(SFFloat value)
Sets the value of the size property.
|
void |
setSpacing(SFFloat value)
Sets the value of the spacing property.
|
void |
setStyle(FontStyleValues value)
Sets the value of the style property.
|
void |
setTopToBottom(SFBool value)
Sets the value of the topToBottom property.
|
getContainerField, setContainerFieldgetClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSEprotected MFString family
protected SFBool horizontal
protected MFString justify
protected SFString language
protected SFBool leftToRight
protected SFFloat size
protected SFFloat spacing
protected FontStyleValues style
protected SFBool topToBottom
public MFString getFamily()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the family property.
For example, to add a new item, do as follows:
getFamily().add(newItem);
Objects of the following type(s) are allowed in the list
MFString
public SFBool isHorizontal()
SFBoolpublic void setHorizontal(SFBool value)
value - allowed object is
SFBoolpublic MFString getJustify()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the justify property.
For example, to add a new item, do as follows:
getJustify().add(newItem);
Objects of the following type(s) are allowed in the list
MFString
public SFString getLanguage()
SFStringpublic void setLanguage(SFString value)
value - allowed object is
SFStringpublic SFBool isLeftToRight()
SFBoolpublic void setLeftToRight(SFBool value)
value - allowed object is
SFBoolpublic SFFloat getSize()
SFFloatpublic void setSize(SFFloat value)
value - allowed object is
SFFloatpublic SFFloat getSpacing()
SFFloatpublic void setSpacing(SFFloat value)
value - allowed object is
SFFloatpublic FontStyleValues getStyle()
FontStyleValuespublic void setStyle(FontStyleValues value)
value - allowed object is
FontStyleValuespublic SFBool isTopToBottom()
SFBool