Class NoteheadText

java.lang.Object
org.audiveris.proxymusic.NoteheadText

public class NoteheadText extends Object
The notehead-text type represents text that is displayed inside a notehead, as is done in some educational music. It is not needed for the numbers used in tablature or jianpu notation. The presence of a TAB or jianpu clefs is sufficient to indicate that numbers are used. The display-text and accidental-text elements allow display of fully formatted text and accidentals.

Java class for notehead-text complex type.

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

 <complexType name="notehead-text">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice maxOccurs="unbounded">
           <element name="display-text" type="{}formatted-text"/>
           <element name="accidental-text" type="{}accidental-text"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • displayTextOrAccidentalText

      protected List<Object> displayTextOrAccidentalText
  • Constructor Details

    • NoteheadText

      public NoteheadText()
  • Method Details

    • getDisplayTextOrAccidentalText

      public List<Object> getDisplayTextOrAccidentalText()
      Gets the value of the displayTextOrAccidentalText property.

      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 displayTextOrAccidentalText property.

      For example, to add a new item, do as follows:

          getDisplayTextOrAccidentalText().add(newItem);
       

      Objects of the following type(s) are allowed in the list FormattedText AccidentalText