Package org.audiveris.proxymusic
Class NameDisplay
java.lang.Object
org.audiveris.proxymusic.NameDisplay
The name-display type is used for exact formatting of multi-font text in part and group names to the left of the system. The print-object attribute can be used to determine what, if anything, is printed at the start of each system. Enclosure for the display-text element is none by default. Language for the display-text element is Italian ("it") by default.
Java class for name-display complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="name-display">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="display-text" type="{}formatted-text"/>
<element name="accidental-text" type="{}accidental-text"/>
</choice>
</sequence>
<attGroup ref="{}print-object"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the displayTextOrAccidentalText property.Gets the value of the printObject property.voidsetPrintObject(YesNo value) Sets the value of the printObject property.
-
Field Details
-
displayTextOrAccidentalText
-
printObject
-
-
Constructor Details
-
NameDisplay
public NameDisplay()
-
-
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 -
getPrintObject
Gets the value of the printObject property.- Returns:
- possible object is
YesNo
-
setPrintObject
Sets the value of the printObject property.- Parameters:
value- allowed object isYesNo
-