Package org.audiveris.proxymusic
Class DegreeType
java.lang.Object
org.audiveris.proxymusic.DegreeType
The degree-type type indicates if this degree is an addition, alteration, or subtraction relative to the kind of the current chord. The value of the degree-type element affects the interpretation of the value of the degree-alter element. The text attribute specifies how the type of the degree should be displayed.
Java class for degree-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="degree-type">
<simpleContent>
<extension base="<>degree-type-value">
<attGroup ref="{}print-style"/>
<attribute name="text" type="{http://www.w3.org/2001/XMLSchema}token" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected BigDecimalprotected BigDecimalprotected Stringprotected DegreeTypeValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color property.Gets the value of the defaultX property.Gets the value of the defaultY property.Gets the value of the fontFamily property.Gets the value of the fontSize property.Gets the value of the fontStyle property.Gets the value of the fontWeight property.Gets the value of the relativeX property.Gets the value of the relativeY property.getText()Gets the value of the text property.getValue()The degree-type-value type indicates whether the current degree element is an addition, alteration, or subtraction to the kind of the current chord in the harmony element.voidSets the value of the color property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetFontFamily(String value) Sets the value of the fontFamily property.voidsetFontSize(String value) Sets the value of the fontSize property.voidsetFontStyle(FontStyle value) Sets the value of the fontStyle property.voidsetFontWeight(FontWeight value) Sets the value of the fontWeight property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidSets the value of the text property.voidsetValue(DegreeTypeValue value) Sets the value of the value property.
-
Field Details
-
value
-
text
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
-
Constructor Details
-
DegreeType
public DegreeType()
-
-
Method Details
-
getValue
The degree-type-value type indicates whether the current degree element is an addition, alteration, or subtraction to the kind of the current chord in the harmony element.- Returns:
- possible object is
DegreeTypeValue
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isDegreeTypeValue
-
getText
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
Sets the value of the text property.- Parameters:
value- allowed object isString
-
getColor
Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isString
-
getFontFamily
Gets the value of the fontFamily property.- Returns:
- possible object is
String
-
setFontFamily
Sets the value of the fontFamily property.- Parameters:
value- allowed object isString
-
getFontStyle
Gets the value of the fontStyle property.- Returns:
- possible object is
FontStyle
-
setFontStyle
Sets the value of the fontStyle property.- Parameters:
value- allowed object isFontStyle
-
getFontSize
Gets the value of the fontSize property.- Returns:
- possible object is
String
-
setFontSize
Sets the value of the fontSize property.- Parameters:
value- allowed object isString
-
getFontWeight
Gets the value of the fontWeight property.- Returns:
- possible object is
FontWeight
-
setFontWeight
Sets the value of the fontWeight property.- Parameters:
value- allowed object isFontWeight
-
getDefaultX
Gets the value of the defaultX property.- Returns:
- possible object is
BigDecimal
-
setDefaultX
Sets the value of the defaultX property.- Parameters:
value- allowed object isBigDecimal
-
getDefaultY
Gets the value of the defaultY property.- Returns:
- possible object is
BigDecimal
-
setDefaultY
Sets the value of the defaultY property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeX
Gets the value of the relativeX property.- Returns:
- possible object is
BigDecimal
-
setRelativeX
Sets the value of the relativeX property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeY
Gets the value of the relativeY property.- Returns:
- possible object is
BigDecimal
-
setRelativeY
Sets the value of the relativeY property.- Parameters:
value- allowed object isBigDecimal
-