Class Metronome

java.lang.Object
org.audiveris.proxymusic.Metronome

public class Metronome extends Object
[JAXB: simplified definition]
The metronome type represents metronome marks and other metric relationships. The beat-unit group and per-minute element specify regular metronome marks. The metronome-note and metronome-relation elements allow for the specification of metric modulations and other metric relationships, such as swing tempo marks where two eighths are equated to a quarter note / eighth note triplet. Tied notes can be represented in both types of metronome marks by using the beat-unit-tied and metronome-tied elements. The parentheses attribute indicates whether or not to put the metronome mark in parentheses; its value is no if not specified. The print-object attribute is set to no in cases where the metronome element represents a relationship or range that is not displayed in the music notation.

Java class for metronome complex type.

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

 <complexType name="metronome">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <sequence>
           <group ref="{}beat-unit" maxOccurs="2"/>
           <element name="beat-unit-tied" type="{}beat-unit-tied" maxOccurs="unbounded" minOccurs="0"/>
           <element name="per-minute" type="{}per-minute" minOccurs="0"/>
         </sequence>
         <sequence>
           <element name="metronome-arrows" type="{}empty" minOccurs="0"/>
           <element name="metronome-note" type="{}metronome-note" maxOccurs="unbounded"/>
           <element name="metronome-relation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         </sequence>
       </choice>
       <attGroup ref="{}justify"/>
       <attGroup ref="{}print-style-align"/>
       <attGroup ref="{}print-object"/>
       <attGroup ref="{}optional-unique-id"/>
       <attribute name="parentheses" type="{}yes-no" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Metronome

      public Metronome()
  • Method Details

    • getBeatUnit

      public List<Object> getBeatUnit()
      Gets the value of the beatUnit property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the beatUnit property.

      For example, to add a new item, do as follows:

          getBeatUnit().add(newItem);
       

      Objects of the following type(s) are allowed in the list String Empty

    • getBeatUnitTied

      public List<BeatUnitTied> getBeatUnitTied()
      Gets the value of the beatUnitTied property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the beatUnitTied property.

      For example, to add a new item, do as follows:

          getBeatUnitTied().add(newItem);
       

      Objects of the following type(s) are allowed in the list BeatUnitTied

    • getPerMinute

      public PerMinute getPerMinute()
      Gets the value of the perMinute property.
      Returns:
      possible object is PerMinute
    • setPerMinute

      public void setPerMinute(PerMinute value)
      Sets the value of the perMinute property.
      Parameters:
      value - allowed object is PerMinute
    • getMetronomeArrows

      public Empty getMetronomeArrows()
      Gets the value of the metronomeArrows property.
      Returns:
      possible object is Empty
    • setMetronomeArrows

      public void setMetronomeArrows(Empty value)
      Sets the value of the metronomeArrows property.
      Parameters:
      value - allowed object is Empty
    • getMetronomeNote

      public List<MetronomeNote> getMetronomeNote()
      Gets the value of the metronomeNote property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the metronomeNote property.

      For example, to add a new item, do as follows:

          getMetronomeNote().add(newItem);
       

      Objects of the following type(s) are allowed in the list MetronomeNote

    • getMetronomeRelation

      public String getMetronomeRelation()
      Gets the value of the metronomeRelation property.
      Returns:
      possible object is String
    • setMetronomeRelation

      public void setMetronomeRelation(String value)
      Sets the value of the metronomeRelation property.
      Parameters:
      value - allowed object is String
    • getParentheses

      public YesNo getParentheses()
      Gets the value of the parentheses property.
      Returns:
      possible object is YesNo
    • setParentheses

      public void setParentheses(YesNo value)
      Sets the value of the parentheses property.
      Parameters:
      value - allowed object is YesNo
    • getJustify

      public LeftCenterRight getJustify()
      Gets the value of the justify property.
      Returns:
      possible object is LeftCenterRight
    • setJustify

      public void setJustify(LeftCenterRight value)
      Sets the value of the justify property.
      Parameters:
      value - allowed object is LeftCenterRight
    • 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
    • getPrintObject

      public YesNo getPrintObject()
      Gets the value of the printObject property.
      Returns:
      possible object is YesNo
    • setPrintObject

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