public class Text extends X3DGeometryNode
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{}X3DGeometryNode">
<sequence minOccurs="0">
<group ref="{}TextChildContentModel"/>
</sequence>
<attribute name="string" type="{}MFString" />
<attribute name="length" type="{}MFFloat" />
<attribute name="maxExtent" default="0.0">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
</restriction>
</simpleType>
</attribute>
<attribute name="solid" type="{}SFBool" default="false" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected FontStyle |
fontStyle |
protected MFFloat |
length |
protected SFFloat |
maxExtent |
protected SFBool |
solid |
protected MFString |
string |
containerField| Constructor and Description |
|---|
Text() |
| Modifier and Type | Method and Description |
|---|---|
FontStyle |
getFontStyle()
Gets the value of the fontStyle property.
|
MFFloat |
getLength()
Gets the value of the length property.
|
SFFloat |
getMaxExtent()
Gets the value of the maxExtent property.
|
MFString |
getString()
Gets the value of the string property.
|
SFBool |
isSolid()
Gets the value of the solid property.
|
void |
setFontStyle(FontStyle value)
Sets the value of the fontStyle property.
|
void |
setLength(MFFloat value)
Sets the value of the length property.
|
void |
setMaxExtent(SFFloat value)
Sets the value of the maxExtent property.
|
void |
setSolid(SFBool value)
Sets the value of the solid property.
|
void |
setString(MFString string) |
getContainerField, setContainerFieldgetClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSEprotected FontStyle fontStyle
protected MFString string
protected MFFloat length
protected SFFloat maxExtent
protected SFBool solid
public FontStyle getFontStyle()
FontStylepublic void setFontStyle(FontStyle value)
value - allowed object is FontStylepublic MFString getString()
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 string property.
For example, to add a new item, do as follows:
getString().add(newItem);
Objects of the following type(s) are allowed in the list String
public void setString(MFString string)
public MFFloat getLength()
MFFloatpublic void setLength(MFFloat value)
value - allowed object is MFFloatpublic SFFloat getMaxExtent()
SFFloatpublic void setMaxExtent(SFFloat value)
value - allowed object is SFFloatpublic SFBool isSolid()
SFBool