Class Metronome
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 Summary
FieldsModifier and TypeFieldDescriptionprotected List<BeatUnitTied>protected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected LeftCenterRightprotected Stringprotected LeftCenterRightprotected Emptyprotected List<MetronomeNote>protected Stringprotected YesNoprotected PerMinuteprotected YesNoprotected BigDecimalprotected BigDecimalprotected Valign -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the beatUnit property.Gets the value of the beatUnitTied property.getColor()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.getId()Gets the value of the id property.Gets the value of the justify property.Gets the value of the metronomeArrows property.Gets the value of the metronomeNote property.Gets the value of the metronomeRelation property.Gets the value of the parentheses property.Gets the value of the perMinute property.Gets the value of the printObject property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the valign property.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.voidSets the value of the id property.voidsetJustify(LeftCenterRight value) Sets the value of the justify property.voidsetMetronomeArrows(Empty value) Sets the value of the metronomeArrows property.voidsetMetronomeRelation(String value) Sets the value of the metronomeRelation property.voidsetParentheses(YesNo value) Sets the value of the parentheses property.voidsetPerMinute(PerMinute value) Sets the value of the perMinute property.voidsetPrintObject(YesNo value) Sets the value of the printObject 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 valign property.
-
Field Details
-
beatUnit
-
beatUnitTied
-
perMinute
-
metronomeArrows
-
metronomeNote
-
metronomeRelation
-
parentheses
-
justify
-
valign
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
halign
-
printObject
-
id
-
-
Constructor Details
-
Metronome
public Metronome()
-
-
Method Details
-
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
setmethod 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
StringEmpty -
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
setmethod 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
Gets the value of the perMinute property.- Returns:
- possible object is
PerMinute
-
setPerMinute
Sets the value of the perMinute property.- Parameters:
value- allowed object isPerMinute
-
getMetronomeArrows
Gets the value of the metronomeArrows property.- Returns:
- possible object is
Empty
-
setMetronomeArrows
Sets the value of the metronomeArrows property.- Parameters:
value- allowed object isEmpty
-
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
setmethod 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
Gets the value of the metronomeRelation property.- Returns:
- possible object is
String
-
setMetronomeRelation
Sets the value of the metronomeRelation property.- Parameters:
value- allowed object isString
-
getParentheses
Gets the value of the parentheses property.- Returns:
- possible object is
YesNo
-
setParentheses
Sets the value of the parentheses property.- Parameters:
value- allowed object isYesNo
-
getJustify
Gets the value of the justify property.- Returns:
- possible object is
LeftCenterRight
-
setJustify
Sets the value of the justify property.- Parameters:
value- allowed object isLeftCenterRight
-
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
-
getPrintObject
Gets the value of the printObject property.- Returns:
- possible object is
YesNo
-
setPrintObject
Sets the value of the printObject property.- Parameters:
value- allowed object isYesNo
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-