Package org.audiveris.proxymusic
Class AccidentalText
java.lang.Object
org.audiveris.proxymusic.AccidentalText
The accidental-text type represents an element with an accidental value and text-formatting attributes.
Java class for accidental-text complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="accidental-text">
<simpleContent>
<extension base="<>accidental-value">
<attGroup ref="{}text-formatting"/>
<attribute name="smufl" type="{}smufl-accidental-glyph-name" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected TextDirectionprotected EnclosureShapeprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected LeftCenterRightprotected LeftCenterRightprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected Integerprotected Valignprotected AccidentalValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color property.Gets the value of the defaultX property.Gets the value of the defaultY property.getDir()Gets the value of the dir property.Gets the value of the enclosure 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.Gets the value of the halign property.Gets the value of the justify property.getLang()Gets the value of the lang property.Gets the value of the letterSpacing property.Gets the value of the lineHeight property.Gets the value of the lineThrough property.Gets the value of the overline property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the rotation property.getSmufl()Gets the value of the smufl property.getSpace()Gets the value of the space property.Gets the value of the underline property.Gets the value of the valign property.getValue()The accidental-value type represents notated accidentals supported by MusicXML.voidSets the value of the color property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetDir(TextDirection value) Sets the value of the dir property.voidsetEnclosure(EnclosureShape value) Sets the value of the enclosure 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.voidsetHalign(LeftCenterRight value) Sets the value of the halign property.voidsetJustify(LeftCenterRight value) Sets the value of the justify property.voidSets the value of the lang property.voidsetLetterSpacing(String value) Sets the value of the letterSpacing property.voidsetLineHeight(String value) Sets the value of the lineHeight property.voidsetLineThrough(Integer value) Sets the value of the lineThrough property.voidsetOverline(Integer value) Sets the value of the overline property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetRotation(BigDecimal value) Sets the value of the rotation property.voidSets the value of the smufl property.voidSets the value of the space property.voidsetUnderline(Integer value) Sets the value of the underline property.voidSets the value of the valign property.voidsetValue(AccidentalValue value) Sets the value of the value property.
-
Field Details
-
value
-
smufl
-
lang
-
space
-
rotation
-
valign
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
halign
-
dir
-
underline
-
overline
-
lineThrough
-
letterSpacing
-
justify
-
lineHeight
-
enclosure
-
-
Constructor Details
-
AccidentalText
public AccidentalText()
-
-
Method Details
-
getValue
The accidental-value type represents notated accidentals supported by MusicXML. In the MusicXML 2.0 DTD this was a string with values that could be included. The XSD strengthens the data typing to an enumerated list. The quarter- and three-quarters- accidentals are Tartini-style quarter-tone accidentals. The -down and -up accidentals are quarter-tone accidentals that include arrows pointing down or up. The slash- accidentals are used in Turkish classical music. The numbered sharp and flat accidentals are superscripted versions of the accidental signs, used in Turkish folk music. The sori and koron accidentals are microtonal sharp and flat accidentals used in Iranian and Persian music. The other accidental covers accidentals other than those listed here. It is usually used in combination with the smufl attribute to specify a particular SMuFL accidental. The smufl attribute may be used with any accidental value to help specify the appearance of symbols that share the same MusicXML semantics.- Returns:
- possible object is
AccidentalValue
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isAccidentalValue
-
getSmufl
Gets the value of the smufl property.- Returns:
- possible object is
String
-
setSmufl
Sets the value of the smufl 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
-
getSpace
Gets the value of the space property.- Returns:
- possible object is
String
-
setSpace
Sets the value of the space property.- Parameters:
value- allowed object isString
-
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
-
getValign
Gets the value of the valign property.- Returns:
- possible object is
Valign
-
setValign
Sets the value of the valign property.- Parameters:
value- allowed object isValign
-
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
-
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
-
getDefaultX
Gets the value of the defaultX property.- Returns:
- possible object is
BigDecimal
-
setDefaultX
Sets the value of the defaultX property.- Parameters:
value- allowed object isBigDecimal
-
getDefaultY
Gets the value of the defaultY property.- Returns:
- possible object is
BigDecimal
-
setDefaultY
Sets the value of the defaultY property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeX
Gets the value of the relativeX property.- Returns:
- possible object is
BigDecimal
-
setRelativeX
Sets the value of the relativeX property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeY
Gets the value of the relativeY property.- Returns:
- possible object is
BigDecimal
-
setRelativeY
Sets the value of the relativeY property.- Parameters:
value- allowed object isBigDecimal
-
getHalign
Gets the value of the halign property.- Returns:
- possible object is
LeftCenterRight
-
setHalign
Sets the value of the halign property.- Parameters:
value- allowed object isLeftCenterRight
-
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
-
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
-
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
-
getJustify
Gets the value of the justify property.- Returns:
- possible object is
LeftCenterRight
-
setJustify
Sets the value of the justify property.- Parameters:
value- allowed object isLeftCenterRight
-
getLineHeight
Gets the value of the lineHeight property.- Returns:
- possible object is
String
-
setLineHeight
Sets the value of the lineHeight property.- Parameters:
value- allowed object isString
-
getEnclosure
Gets the value of the enclosure property.- Returns:
- possible object is
EnclosureShape
-
setEnclosure
Sets the value of the enclosure property.- Parameters:
value- allowed object isEnclosureShape
-