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, setContainerField
getClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSE
protected FontStyle fontStyle
protected MFString string
protected MFFloat length
protected SFFloat maxExtent
protected SFBool solid
public FontStyle getFontStyle()
FontStyle
public void setFontStyle(FontStyle value)
value
- allowed object is FontStyle
public 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()
MFFloat
public void setLength(MFFloat value)
value
- allowed object is MFFloat
public SFFloat getMaxExtent()
SFFloat
public void setMaxExtent(SFFloat value)
value
- allowed object is SFFloat
public SFBool isSolid()
SFBool