Package org.audiveris.proxymusic
Class MeasureNumbering
java.lang.Object
org.audiveris.proxymusic.MeasureNumbering
The measure-numbering type describes how frequently measure numbers are displayed on this part. The text attribute from the measure element is used for display, or the number attribute if the text attribute is not present. Measures with an implicit attribute set to "yes" never display a measure number, regardless of the measure-numbering setting.
The optional staff attribute refers to staff numbers within the part, from top to bottom on the system. It indicates which staff is used as the reference point for vertical positioning. A value of 1 is assumed if not present.
The optional multiple-rest-always and multiple-rest-range attributes describe how measure numbers are shown on multiple rests when the measure-numbering value is not set to none. The multiple-rest-always attribute is set to yes when the measure number should always be shown, even if the multiple rest starts midway through a system when measure numbering is set to system level. The multiple-rest-range attribute is set to yes when measure numbers on multiple rests display the range of numbers for the first and last measure, rather than just the number of the first measure.
Java class for measure-numbering complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="measure-numbering">
<simpleContent>
<extension base="<>measure-numbering-value">
<attGroup ref="{}print-style-align"/>
<attribute name="system" type="{}system-relation-number" />
<attribute name="staff" type="{}staff-number" />
<attribute name="multiple-rest-always" type="{}yes-no" />
<attribute name="multiple-rest-range" type="{}yes-no" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected LeftCenterRightprotected YesNoprotected YesNoprotected BigDecimalprotected BigDecimalprotected BigIntegerprotected SystemRelationNumberprotected Valignprotected MeasureNumberingValue -
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 halign property.Gets the value of the multipleRestAlways property.Gets the value of the multipleRestRange property.Gets the value of the relativeX property.Gets the value of the relativeY property.getStaff()Gets the value of the staff property.Gets the value of the system property.Gets the value of the valign property.getValue()The measure-numbering-value type describes how measure numbers are displayed on this part: no numbers, numbers every measure, or numbers every system.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.voidsetHalign(LeftCenterRight value) Sets the value of the halign property.voidsetMultipleRestAlways(YesNo value) Sets the value of the multipleRestAlways property.voidsetMultipleRestRange(YesNo value) Sets the value of the multipleRestRange property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetStaff(BigInteger value) Sets the value of the staff property.voidsetSystem(SystemRelationNumber value) Sets the value of the system property.voidSets the value of the valign property.voidsetValue(MeasureNumberingValue value) Sets the value of the value property.
-
Field Details
-
value
-
system
-
staff
-
multipleRestAlways
-
multipleRestRange
-
valign
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
halign
-
-
Constructor Details
-
MeasureNumbering
public MeasureNumbering()
-
-
Method Details
-
getValue
The measure-numbering-value type describes how measure numbers are displayed on this part: no numbers, numbers every measure, or numbers every system.- Returns:
- possible object is
MeasureNumberingValue
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isMeasureNumberingValue
-
getSystem
Gets the value of the system property.- Returns:
- possible object is
SystemRelationNumber
-
setSystem
Sets the value of the system property.- Parameters:
value- allowed object isSystemRelationNumber
-
getStaff
Gets the value of the staff property.- Returns:
- possible object is
BigInteger
-
setStaff
Sets the value of the staff property.- Parameters:
value- allowed object isBigInteger
-
getMultipleRestAlways
Gets the value of the multipleRestAlways property.- Returns:
- possible object is
YesNo
-
setMultipleRestAlways
Sets the value of the multipleRestAlways property.- Parameters:
value- allowed object isYesNo
-
getMultipleRestRange
Gets the value of the multipleRestRange property.- Returns:
- possible object is
YesNo
-
setMultipleRestRange
Sets the value of the multipleRestRange property.- Parameters:
value- allowed object isYesNo
-
getValign
Gets the value of the valign property.- Returns:
- possible object is
Valign
-
setValign
Sets the value of the valign property.- Parameters:
value- allowed object isValign
-
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
-
getHalign
Gets the value of the halign property.- Returns:
- possible object is
LeftCenterRight
-
setHalign
Sets the value of the halign property.- Parameters:
value- allowed object isLeftCenterRight
-