Class AccidentalText

java.lang.Object
org.audiveris.proxymusic.AccidentalText

public class AccidentalText extends Object
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 Details

  • Constructor Details

    • AccidentalText

      public AccidentalText()
  • Method Details

    • getValue

      public AccidentalValue 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

      public void setValue(AccidentalValue value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is AccidentalValue
    • getSmufl

      public String getSmufl()
      Gets the value of the smufl property.
      Returns:
      possible object is String
    • setSmufl

      public void setSmufl(String value)
      Sets the value of the smufl property.
      Parameters:
      value - allowed object is String
    • getLang

      public String getLang()
      Gets the value of the lang property.
      Returns:
      possible object is String
    • setLang

      public void setLang(String value)
      Sets the value of the lang property.
      Parameters:
      value - allowed object is String
    • getSpace

      public String getSpace()
      Gets the value of the space property.
      Returns:
      possible object is String
    • setSpace

      public void setSpace(String value)
      Sets the value of the space property.
      Parameters:
      value - allowed object is String
    • getRotation

      public BigDecimal getRotation()
      Gets the value of the rotation property.
      Returns:
      possible object is BigDecimal
    • setRotation

      public void setRotation(BigDecimal value)
      Sets the value of the rotation property.
      Parameters:
      value - allowed object is BigDecimal
    • getValign

      public Valign getValign()
      Gets the value of the valign property.
      Returns:
      possible object is Valign
    • setValign

      public void setValign(Valign value)
      Sets the value of the valign property.
      Parameters:
      value - allowed object is Valign
    • getColor

      public String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor(String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getFontFamily

      public String getFontFamily()
      Gets the value of the fontFamily property.
      Returns:
      possible object is String
    • setFontFamily

      public void setFontFamily(String value)
      Sets the value of the fontFamily property.
      Parameters:
      value - allowed object is String
    • getFontStyle

      public FontStyle getFontStyle()
      Gets the value of the fontStyle property.
      Returns:
      possible object is FontStyle
    • setFontStyle

      public void setFontStyle(FontStyle value)
      Sets the value of the fontStyle property.
      Parameters:
      value - allowed object is FontStyle
    • getFontSize

      public String getFontSize()
      Gets the value of the fontSize property.
      Returns:
      possible object is String
    • setFontSize

      public void setFontSize(String value)
      Sets the value of the fontSize property.
      Parameters:
      value - allowed object is String
    • getFontWeight

      public FontWeight getFontWeight()
      Gets the value of the fontWeight property.
      Returns:
      possible object is FontWeight
    • setFontWeight

      public void setFontWeight(FontWeight value)
      Sets the value of the fontWeight property.
      Parameters:
      value - allowed object is FontWeight
    • getDefaultX

      public BigDecimal getDefaultX()
      Gets the value of the defaultX property.
      Returns:
      possible object is BigDecimal
    • setDefaultX

      public void setDefaultX(BigDecimal value)
      Sets the value of the defaultX property.
      Parameters:
      value - allowed object is BigDecimal
    • getDefaultY

      public BigDecimal getDefaultY()
      Gets the value of the defaultY property.
      Returns:
      possible object is BigDecimal
    • setDefaultY

      public void setDefaultY(BigDecimal value)
      Sets the value of the defaultY property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeX

      public BigDecimal getRelativeX()
      Gets the value of the relativeX property.
      Returns:
      possible object is BigDecimal
    • setRelativeX

      public void setRelativeX(BigDecimal value)
      Sets the value of the relativeX property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeY

      public BigDecimal getRelativeY()
      Gets the value of the relativeY property.
      Returns:
      possible object is BigDecimal
    • setRelativeY

      public void setRelativeY(BigDecimal value)
      Sets the value of the relativeY property.
      Parameters:
      value - allowed object is BigDecimal
    • getHalign

      public LeftCenterRight getHalign()
      Gets the value of the halign property.
      Returns:
      possible object is LeftCenterRight
    • setHalign

      public void setHalign(LeftCenterRight value)
      Sets the value of the halign property.
      Parameters:
      value - allowed object is LeftCenterRight
    • getDir

      public TextDirection getDir()
      Gets the value of the dir property.
      Returns:
      possible object is TextDirection
    • setDir

      public void setDir(TextDirection value)
      Sets the value of the dir property.
      Parameters:
      value - allowed object is TextDirection
    • getUnderline

      public Integer getUnderline()
      Gets the value of the underline property.
      Returns:
      possible object is Integer
    • setUnderline

      public void setUnderline(Integer value)
      Sets the value of the underline property.
      Parameters:
      value - allowed object is Integer
    • getOverline

      public Integer getOverline()
      Gets the value of the overline property.
      Returns:
      possible object is Integer
    • setOverline

      public void setOverline(Integer value)
      Sets the value of the overline property.
      Parameters:
      value - allowed object is Integer
    • getLineThrough

      public Integer getLineThrough()
      Gets the value of the lineThrough property.
      Returns:
      possible object is Integer
    • setLineThrough

      public void setLineThrough(Integer value)
      Sets the value of the lineThrough property.
      Parameters:
      value - allowed object is Integer
    • getLetterSpacing

      public String getLetterSpacing()
      Gets the value of the letterSpacing property.
      Returns:
      possible object is String
    • setLetterSpacing

      public void setLetterSpacing(String value)
      Sets the value of the letterSpacing property.
      Parameters:
      value - allowed object is String
    • getJustify

      public LeftCenterRight getJustify()
      Gets the value of the justify property.
      Returns:
      possible object is LeftCenterRight
    • setJustify

      public void setJustify(LeftCenterRight value)
      Sets the value of the justify property.
      Parameters:
      value - allowed object is LeftCenterRight
    • getLineHeight

      public String getLineHeight()
      Gets the value of the lineHeight property.
      Returns:
      possible object is String
    • setLineHeight

      public void setLineHeight(String value)
      Sets the value of the lineHeight property.
      Parameters:
      value - allowed object is String
    • getEnclosure

      public EnclosureShape getEnclosure()
      Gets the value of the enclosure property.
      Returns:
      possible object is EnclosureShape
    • setEnclosure

      public void setEnclosure(EnclosureShape value)
      Sets the value of the enclosure property.
      Parameters:
      value - allowed object is EnclosureShape