Class MeasureStyle

java.lang.Object
org.audiveris.proxymusic.MeasureStyle

public class MeasureStyle extends Object
A measure-style indicates a special way to print partial to multiple measures within a part. This includes multiple rests over several measures, repeats of beats, single, or multiple measures, and use of slash notation. The multiple-rest and measure-repeat elements indicate the number of measures covered in the element content. The beat-repeat and slash elements can cover partial measures. All but the multiple-rest element use a type attribute to indicate starting and stopping the use of the style. The optional number attribute specifies the staff number from top to bottom on the system, as with clef.

Java class for measure-style complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="measure-style">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="multiple-rest" type="{}multiple-rest"/>
         <element name="measure-repeat" type="{}measure-repeat"/>
         <element name="beat-repeat" type="{}beat-repeat"/>
         <element name="slash" type="{}slash"/>
       </choice>
       <attGroup ref="{}font"/>
       <attGroup ref="{}optional-unique-id"/>
       <attGroup ref="{}color"/>
       <attribute name="number" type="{}staff-number" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • MeasureStyle

      public MeasureStyle()
  • Method Details

    • getMultipleRest

      public MultipleRest getMultipleRest()
      Gets the value of the multipleRest property.
      Returns:
      possible object is MultipleRest
    • setMultipleRest

      public void setMultipleRest(MultipleRest value)
      Sets the value of the multipleRest property.
      Parameters:
      value - allowed object is MultipleRest
    • getMeasureRepeat

      public MeasureRepeat getMeasureRepeat()
      Gets the value of the measureRepeat property.
      Returns:
      possible object is MeasureRepeat
    • setMeasureRepeat

      public void setMeasureRepeat(MeasureRepeat value)
      Sets the value of the measureRepeat property.
      Parameters:
      value - allowed object is MeasureRepeat
    • getBeatRepeat

      public BeatRepeat getBeatRepeat()
      Gets the value of the beatRepeat property.
      Returns:
      possible object is BeatRepeat
    • setBeatRepeat

      public void setBeatRepeat(BeatRepeat value)
      Sets the value of the beatRepeat property.
      Parameters:
      value - allowed object is BeatRepeat
    • getSlash

      public Slash getSlash()
      Gets the value of the slash property.
      Returns:
      possible object is Slash
    • setSlash

      public void setSlash(Slash value)
      Sets the value of the slash property.
      Parameters:
      value - allowed object is Slash
    • getNumber

      public BigInteger getNumber()
      Gets the value of the number property.
      Returns:
      possible object is BigInteger
    • setNumber

      public void setNumber(BigInteger value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is BigInteger
    • 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
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • 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