public class Metronome extends Object
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="per-minute" type="{}per-minute"/>
</sequence>
<sequence>
<element name="metronome-note" type="{}metronome-note" maxOccurs="unbounded"/>
<sequence minOccurs="0">
<element name="metronome-relation" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="related-metronome-note" type="{}metronome-note" maxOccurs="unbounded"/>
</sequence>
</sequence>
</choice>
<attGroup ref="{}print-style-align"/>
<attGroup ref="{}justify"/>
<attribute name="parentheses" type="{}yes-no" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
beatUnit |
protected String |
color |
protected BigDecimal |
defaultX |
protected BigDecimal |
defaultY |
protected String |
fontFamily |
protected String |
fontSize |
protected FontStyle |
fontStyle |
protected FontWeight |
fontWeight |
protected LeftCenterRight |
halign |
protected LeftCenterRight |
justify |
protected List<MetronomeNote> |
metronomeNote |
protected String |
metronomeRelation |
protected YesNo |
parentheses |
protected PerMinute |
perMinute |
protected List<MetronomeNote> |
relatedMetronomeNote |
protected BigDecimal |
relativeX |
protected BigDecimal |
relativeY |
protected Valign |
valign |
| Constructor and Description |
|---|
Metronome() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getBeatUnit()
Gets the value of the beatUnit property.
|
String |
getColor()
Gets the value of the color property.
|
BigDecimal |
getDefaultX()
Gets the value of the defaultX property.
|
BigDecimal |
getDefaultY()
Gets the value of the defaultY property.
|
String |
getFontFamily()
Gets the value of the fontFamily property.
|
String |
getFontSize()
Gets the value of the fontSize property.
|
FontStyle |
getFontStyle()
Gets the value of the fontStyle property.
|
FontWeight |
getFontWeight()
Gets the value of the fontWeight property.
|
LeftCenterRight |
getHalign()
Gets the value of the halign property.
|
LeftCenterRight |
getJustify()
Gets the value of the justify property.
|
List<MetronomeNote> |
getMetronomeNote()
Gets the value of the metronomeNote property.
|
String |
getMetronomeRelation()
Gets the value of the metronomeRelation property.
|
YesNo |
getParentheses()
Gets the value of the parentheses property.
|
PerMinute |
getPerMinute()
Gets the value of the perMinute property.
|
List<MetronomeNote> |
getRelatedMetronomeNote()
Gets the value of the relatedMetronomeNote property.
|
BigDecimal |
getRelativeX()
Gets the value of the relativeX property.
|
BigDecimal |
getRelativeY()
Gets the value of the relativeY property.
|
Valign |
getValign()
Gets the value of the valign property.
|
void |
setColor(String value)
Sets the value of the color property.
|
void |
setDefaultX(BigDecimal value)
Sets the value of the defaultX property.
|
void |
setDefaultY(BigDecimal value)
Sets the value of the defaultY property.
|
void |
setFontFamily(String value)
Sets the value of the fontFamily property.
|
void |
setFontSize(String value)
Sets the value of the fontSize property.
|
void |
setFontStyle(FontStyle value)
Sets the value of the fontStyle property.
|
void |
setFontWeight(FontWeight value)
Sets the value of the fontWeight property.
|
void |
setHalign(LeftCenterRight value)
Sets the value of the halign property.
|
void |
setJustify(LeftCenterRight value)
Sets the value of the justify property.
|
void |
setMetronomeRelation(String value)
Sets the value of the metronomeRelation property.
|
void |
setParentheses(YesNo value)
Sets the value of the parentheses property.
|
void |
setPerMinute(PerMinute value)
Sets the value of the perMinute property.
|
void |
setRelativeX(BigDecimal value)
Sets the value of the relativeX property.
|
void |
setRelativeY(BigDecimal value)
Sets the value of the relativeY property.
|
void |
setValign(Valign value)
Sets the value of the valign property.
|
protected PerMinute perMinute
protected List<MetronomeNote> metronomeNote
protected String metronomeRelation
protected List<MetronomeNote> relatedMetronomeNote
protected YesNo parentheses
protected Valign valign
protected LeftCenterRight halign
protected BigDecimal defaultX
protected BigDecimal defaultY
protected BigDecimal relativeX
protected BigDecimal relativeY
protected String color
protected String fontFamily
protected FontStyle fontStyle
protected String fontSize
protected FontWeight fontWeight
protected LeftCenterRight justify
public List<Object> getBeatUnit()
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
public PerMinute getPerMinute()
PerMinutepublic void setPerMinute(PerMinute value)
value - allowed object is
PerMinutepublic List<MetronomeNote> getMetronomeNote()
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
public String getMetronomeRelation()
Stringpublic void setMetronomeRelation(String value)
value - allowed object is
Stringpublic List<MetronomeNote> getRelatedMetronomeNote()
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 relatedMetronomeNote property.
For example, to add a new item, do as follows:
getRelatedMetronomeNote().add(newItem);
Objects of the following type(s) are allowed in the list
MetronomeNote
public YesNo getParentheses()
YesNopublic void setParentheses(YesNo value)
value - allowed object is
YesNopublic Valign getValign()
Valignpublic void setValign(Valign value)
value - allowed object is
Valignpublic LeftCenterRight getHalign()
LeftCenterRightpublic void setHalign(LeftCenterRight value)
value - allowed object is
LeftCenterRightpublic BigDecimal getDefaultX()
BigDecimalpublic void setDefaultX(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getDefaultY()
BigDecimalpublic void setDefaultY(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelativeX()
BigDecimalpublic void setRelativeX(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelativeY()
BigDecimalpublic void setRelativeY(BigDecimal value)
value - allowed object is
BigDecimalpublic String getColor()
Stringpublic void setColor(String value)
value - allowed object is
Stringpublic String getFontFamily()
Stringpublic void setFontFamily(String value)
value - allowed object is
Stringpublic FontStyle getFontStyle()
FontStylepublic void setFontStyle(FontStyle value)
value - allowed object is
FontStylepublic String getFontSize()
Stringpublic void setFontSize(String value)
value - allowed object is
Stringpublic FontWeight getFontWeight()
FontWeightpublic void setFontWeight(FontWeight value)
value - allowed object is
FontWeightpublic LeftCenterRight getJustify()
LeftCenterRightpublic void setJustify(LeftCenterRight value)
value - allowed object is
LeftCenterRightCopyright © 2016 Audiveris Ltd. All rights reserved.