Class MeasureNumbering

java.lang.Object
org.audiveris.proxymusic.MeasureNumbering

public class MeasureNumbering extends Object
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 Details

  • Constructor Details

    • MeasureNumbering

      public MeasureNumbering()
  • Method Details

    • getValue

      public MeasureNumberingValue 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

      public void setValue(MeasureNumberingValue value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is MeasureNumberingValue
    • getSystem

      public SystemRelationNumber getSystem()
      Gets the value of the system property.
      Returns:
      possible object is SystemRelationNumber
    • setSystem

      public void setSystem(SystemRelationNumber value)
      Sets the value of the system property.
      Parameters:
      value - allowed object is SystemRelationNumber
    • getStaff

      public BigInteger getStaff()
      Gets the value of the staff property.
      Returns:
      possible object is BigInteger
    • setStaff

      public void setStaff(BigInteger value)
      Sets the value of the staff property.
      Parameters:
      value - allowed object is BigInteger
    • getMultipleRestAlways

      public YesNo getMultipleRestAlways()
      Gets the value of the multipleRestAlways property.
      Returns:
      possible object is YesNo
    • setMultipleRestAlways

      public void setMultipleRestAlways(YesNo value)
      Sets the value of the multipleRestAlways property.
      Parameters:
      value - allowed object is YesNo
    • getMultipleRestRange

      public YesNo getMultipleRestRange()
      Gets the value of the multipleRestRange property.
      Returns:
      possible object is YesNo
    • setMultipleRestRange

      public void setMultipleRestRange(YesNo value)
      Sets the value of the multipleRestRange property.
      Parameters:
      value - allowed object is YesNo
    • getValign

      public Valign getValign()
      Gets the value of the valign property.
      Returns:
      possible object is Valign
    • setValign

      public void setValign(Valign value)
      Sets the value of the valign property.
      Parameters:
      value - allowed object is Valign
    • getColor

      public String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor(String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getFontFamily

      public String getFontFamily()
      Gets the value of the fontFamily property.
      Returns:
      possible object is String
    • setFontFamily

      public void setFontFamily(String value)
      Sets the value of the fontFamily property.
      Parameters:
      value - allowed object is String
    • getFontStyle

      public FontStyle getFontStyle()
      Gets the value of the fontStyle property.
      Returns:
      possible object is FontStyle
    • setFontStyle

      public void setFontStyle(FontStyle value)
      Sets the value of the fontStyle property.
      Parameters:
      value - allowed object is FontStyle
    • getFontSize

      public String getFontSize()
      Gets the value of the fontSize property.
      Returns:
      possible object is String
    • setFontSize

      public void setFontSize(String value)
      Sets the value of the fontSize property.
      Parameters:
      value - allowed object is String
    • getFontWeight

      public FontWeight getFontWeight()
      Gets the value of the fontWeight property.
      Returns:
      possible object is FontWeight
    • setFontWeight

      public void setFontWeight(FontWeight value)
      Sets the value of the fontWeight property.
      Parameters:
      value - allowed object is FontWeight
    • getDefaultX

      public BigDecimal getDefaultX()
      Gets the value of the defaultX property.
      Returns:
      possible object is BigDecimal
    • setDefaultX

      public void setDefaultX(BigDecimal value)
      Sets the value of the defaultX property.
      Parameters:
      value - allowed object is BigDecimal
    • getDefaultY

      public BigDecimal getDefaultY()
      Gets the value of the defaultY property.
      Returns:
      possible object is BigDecimal
    • setDefaultY

      public void setDefaultY(BigDecimal value)
      Sets the value of the defaultY property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeX

      public BigDecimal getRelativeX()
      Gets the value of the relativeX property.
      Returns:
      possible object is BigDecimal
    • setRelativeX

      public void setRelativeX(BigDecimal value)
      Sets the value of the relativeX property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeY

      public BigDecimal getRelativeY()
      Gets the value of the relativeY property.
      Returns:
      possible object is BigDecimal
    • setRelativeY

      public void setRelativeY(BigDecimal value)
      Sets the value of the relativeY property.
      Parameters:
      value - allowed object is BigDecimal
    • getHalign

      public LeftCenterRight getHalign()
      Gets the value of the halign property.
      Returns:
      possible object is LeftCenterRight
    • setHalign

      public void setHalign(LeftCenterRight value)
      Sets the value of the halign property.
      Parameters:
      value - allowed object is LeftCenterRight