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, setContainerField
getClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSE
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
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()
SFBool
public void setHorizontal(SFBool value)
value
- allowed object is
SFBool
public 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()
SFString
public void setLanguage(SFString value)
value
- allowed object is
SFString
public SFBool isLeftToRight()
SFBool
public void setLeftToRight(SFBool value)
value
- allowed object is
SFBool
public SFFloat getSize()
SFFloat
public void setSize(SFFloat value)
value
- allowed object is
SFFloat
public SFFloat getSpacing()
SFFloat
public void setSpacing(SFFloat value)
value
- allowed object is
SFFloat
public FontStyleValues getStyle()
FontStyleValues
public void setStyle(FontStyleValues value)
value
- allowed object is
FontStyleValues
public SFBool isTopToBottom()
SFBool