Package org.audiveris.proxymusic
Class Degree
java.lang.Object
org.audiveris.proxymusic.Degree
The degree type is used to add, alter, or subtract individual notes in the chord. The print-object attribute can be used to keep the degree from printing separately when it has already taken into account in the text attribute of the kind element. The degree-value and degree-type text attributes specify how the value and type of the degree should be displayed.
A harmony of kind "other" can be spelled explicitly by using a series of degree elements together with a root.
Java class for degree complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="degree">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="degree-value" type="{}degree-value"/>
<element name="degree-alter" type="{}degree-alter"/>
<element name="degree-type" type="{}degree-type"/>
</sequence>
<attGroup ref="{}print-object"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DegreeAlterprotected DegreeTypeprotected DegreeValueprotected YesNo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the degreeAlter property.Gets the value of the degreeType property.Gets the value of the degreeValue property.Gets the value of the printObject property.voidsetDegreeAlter(DegreeAlter value) Sets the value of the degreeAlter property.voidsetDegreeType(DegreeType value) Sets the value of the degreeType property.voidsetDegreeValue(DegreeValue value) Sets the value of the degreeValue property.voidsetPrintObject(YesNo value) Sets the value of the printObject property.
-
Field Details
-
degreeValue
-
degreeAlter
-
degreeType
-
printObject
-
-
Constructor Details
-
Degree
public Degree()
-
-
Method Details
-
getDegreeValue
Gets the value of the degreeValue property.- Returns:
- possible object is
DegreeValue
-
setDegreeValue
Sets the value of the degreeValue property.- Parameters:
value- allowed object isDegreeValue
-
getDegreeAlter
Gets the value of the degreeAlter property.- Returns:
- possible object is
DegreeAlter
-
setDegreeAlter
Sets the value of the degreeAlter property.- Parameters:
value- allowed object isDegreeAlter
-
getDegreeType
Gets the value of the degreeType property.- Returns:
- possible object is
DegreeType
-
setDegreeType
Sets the value of the degreeType property.- Parameters:
value- allowed object isDegreeType
-
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
-