Class AccidentalMark

java.lang.Object
org.audiveris.proxymusic.AccidentalMark

public class AccidentalMark extends Object
An accidental-mark can be used as a separate notation or as part of an ornament. When used in an ornament, position and placement are relative to the ornament, not relative to the note.

Java class for accidental-mark complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="accidental-mark">
   <simpleContent>
     <extension base="<>accidental-value">
       <attGroup ref="{}level-display"/>
       <attGroup ref="{}optional-unique-id"/>
       <attGroup ref="{}placement"/>
       <attGroup ref="{}print-style"/>
       <attribute name="smufl" type="{}smufl-accidental-glyph-name" />
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • AccidentalMark

      public AccidentalMark()
  • 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
    • getParentheses

      public YesNo getParentheses()
      Gets the value of the parentheses property.
      Returns:
      possible object is YesNo
    • setParentheses

      public void setParentheses(YesNo value)
      Sets the value of the parentheses property.
      Parameters:
      value - allowed object is YesNo
    • getBracket

      public YesNo getBracket()
      Gets the value of the bracket property.
      Returns:
      possible object is YesNo
    • setBracket

      public void setBracket(YesNo value)
      Sets the value of the bracket property.
      Parameters:
      value - allowed object is YesNo
    • getSize

      public SymbolSize getSize()
      Gets the value of the size property.
      Returns:
      possible object is SymbolSize
    • setSize

      public void setSize(SymbolSize value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is SymbolSize
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getPlacement

      public AboveBelow getPlacement()
      Gets the value of the placement property.
      Returns:
      possible object is AboveBelow
    • setPlacement

      public void setPlacement(AboveBelow value)
      Sets the value of the placement property.
      Parameters:
      value - allowed object is AboveBelow
    • 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