Package org.audiveris.proxymusic
Class NoteheadText
java.lang.Object
org.audiveris.proxymusic.NoteheadText
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the displayTextOrAccidentalText property.
-
Field Details
-
displayTextOrAccidentalText
-
-
Constructor Details
-
NoteheadText
public NoteheadText()
-
-
Method Details
-
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
setmethod 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
FormattedTextAccidentalText
-