Package org.audiveris.proxymusic
Class TextElementData
java.lang.Object
org.audiveris.proxymusic.TextElementData
The text-element-data type represents a syllable or portion of a syllable for lyric text underlay. A hyphen in the string content should only be used for an actual hyphenated word. Language names for text elements come from ISO 639, with optional country subcodes from ISO 3166.
Java class for text-element-data complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="text-element-data">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attGroup ref="{}font"/>
<attGroup ref="{}text-decoration"/>
<attGroup ref="{}text-rotation"/>
<attGroup ref="{}color"/>
<attGroup ref="{}text-direction"/>
<attGroup ref="{}letter-spacing"/>
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected TextDirectionprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected Stringprotected Stringprotected Integerprotected Integerprotected BigDecimalprotected Integerprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color property.getDir()Gets the value of the dir property.Gets the value of the fontFamily property.Gets the value of the fontSize property.Gets the value of the fontStyle property.Gets the value of the fontWeight property.getLang()Gets the value of the lang property.Gets the value of the letterSpacing property.Gets the value of the lineThrough property.Gets the value of the overline property.Gets the value of the rotation property.Gets the value of the underline property.getValue()Gets the value of the value property.voidSets the value of the color property.voidsetDir(TextDirection value) Sets the value of the dir property.voidsetFontFamily(String value) Sets the value of the fontFamily property.voidsetFontSize(String value) Sets the value of the fontSize property.voidsetFontStyle(FontStyle value) Sets the value of the fontStyle property.voidsetFontWeight(FontWeight value) Sets the value of the fontWeight property.voidSets the value of the lang property.voidsetLetterSpacing(String value) Sets the value of the letterSpacing property.voidsetLineThrough(Integer value) Sets the value of the lineThrough property.voidsetOverline(Integer value) Sets the value of the overline property.voidsetRotation(BigDecimal value) Sets the value of the rotation property.voidsetUnderline(Integer value) Sets the value of the underline property.voidSets the value of the value property.
-
Field Details
-
value
-
lang
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
underline
-
overline
-
lineThrough
-
rotation
-
color
-
dir
-
letterSpacing
-
-
Constructor Details
-
TextElementData
public TextElementData()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getLang
Gets the value of the lang property.- Returns:
- possible object is
String
-
setLang
Sets the value of the lang property.- Parameters:
value- allowed object isString
-
getFontFamily
Gets the value of the fontFamily property.- Returns:
- possible object is
String
-
setFontFamily
Sets the value of the fontFamily property.- Parameters:
value- allowed object isString
-
getFontStyle
Gets the value of the fontStyle property.- Returns:
- possible object is
FontStyle
-
setFontStyle
Sets the value of the fontStyle property.- Parameters:
value- allowed object isFontStyle
-
getFontSize
Gets the value of the fontSize property.- Returns:
- possible object is
String
-
setFontSize
Sets the value of the fontSize property.- Parameters:
value- allowed object isString
-
getFontWeight
Gets the value of the fontWeight property.- Returns:
- possible object is
FontWeight
-
setFontWeight
Sets the value of the fontWeight property.- Parameters:
value- allowed object isFontWeight
-
getUnderline
Gets the value of the underline property.- Returns:
- possible object is
Integer
-
setUnderline
Sets the value of the underline property.- Parameters:
value- allowed object isInteger
-
getOverline
Gets the value of the overline property.- Returns:
- possible object is
Integer
-
setOverline
Sets the value of the overline property.- Parameters:
value- allowed object isInteger
-
getLineThrough
Gets the value of the lineThrough property.- Returns:
- possible object is
Integer
-
setLineThrough
Sets the value of the lineThrough property.- Parameters:
value- allowed object isInteger
-
getRotation
Gets the value of the rotation property.- Returns:
- possible object is
BigDecimal
-
setRotation
Sets the value of the rotation property.- Parameters:
value- allowed object isBigDecimal
-
getColor
Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isString
-
getDir
Gets the value of the dir property.- Returns:
- possible object is
TextDirection
-
setDir
Sets the value of the dir property.- Parameters:
value- allowed object isTextDirection
-
getLetterSpacing
Gets the value of the letterSpacing property.- Returns:
- possible object is
String
-
setLetterSpacing
Sets the value of the letterSpacing property.- Parameters:
value- allowed object isString
-