public class Harmony extends Object
Java class for harmony complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="harmony">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{}harmony-chord" maxOccurs="unbounded"/>
<element name="frame" type="{}frame" minOccurs="0"/>
<element name="offset" type="{}offset" minOccurs="0"/>
<group ref="{}editorial"/>
<group ref="{}staff" minOccurs="0"/>
</sequence>
<attGroup ref="{}print-object"/>
<attGroup ref="{}print-style"/>
<attGroup ref="{}placement"/>
<attribute name="type" type="{}harmony-type" />
<attribute name="print-frame" type="{}yes-no" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
color |
protected BigDecimal |
defaultX |
protected BigDecimal |
defaultY |
protected String |
fontFamily |
protected String |
fontSize |
protected FontStyle |
fontStyle |
protected FontWeight |
fontWeight |
protected FormattedText |
footnote |
protected Frame |
frame |
protected List<Object> |
harmonyChord |
protected Level |
level |
protected Offset |
offset |
protected AboveBelow |
placement |
protected YesNo |
printFrame |
protected YesNo |
printObject |
protected BigDecimal |
relativeX |
protected BigDecimal |
relativeY |
protected BigInteger |
staff |
protected HarmonyType |
type |
| Constructor and Description |
|---|
Harmony() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
FormattedText |
getFootnote()
Gets the value of the footnote property.
|
Frame |
getFrame()
Gets the value of the frame property.
|
List<Object> |
getHarmonyChord()
Gets the value of the harmonyChord property.
|
Level |
getLevel()
Gets the value of the level property.
|
Offset |
getOffset()
Gets the value of the offset property.
|
AboveBelow |
getPlacement()
Gets the value of the placement property.
|
YesNo |
getPrintFrame()
Gets the value of the printFrame property.
|
YesNo |
getPrintObject()
Gets the value of the printObject property.
|
BigDecimal |
getRelativeX()
Gets the value of the relativeX property.
|
BigDecimal |
getRelativeY()
Gets the value of the relativeY property.
|
BigInteger |
getStaff()
Gets the value of the staff property.
|
HarmonyType |
getType()
Gets the value of the type 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 |
setFootnote(FormattedText value)
Sets the value of the footnote property.
|
void |
setFrame(Frame value)
Sets the value of the frame property.
|
void |
setLevel(Level value)
Sets the value of the level property.
|
void |
setOffset(Offset value)
Sets the value of the offset property.
|
void |
setPlacement(AboveBelow value)
Sets the value of the placement property.
|
void |
setPrintFrame(YesNo value)
Sets the value of the printFrame property.
|
void |
setPrintObject(YesNo value)
Sets the value of the printObject property.
|
void |
setRelativeX(BigDecimal value)
Sets the value of the relativeX property.
|
void |
setRelativeY(BigDecimal value)
Sets the value of the relativeY property.
|
void |
setStaff(BigInteger value)
Sets the value of the staff property.
|
void |
setType(HarmonyType value)
Sets the value of the type property.
|
protected Frame frame
protected Offset offset
protected FormattedText footnote
protected Level level
protected BigInteger staff
protected HarmonyType type
protected YesNo printFrame
protected YesNo printObject
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 AboveBelow placement
public List<Object> getHarmonyChord()
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 harmonyChord property.
For example, to add a new item, do as follows:
getHarmonyChord().add(newItem);
Objects of the following type(s) are allowed in the list
Root
StyleText
Kind
Inversion
Bass
Degree
public Frame getFrame()
Framepublic void setFrame(Frame value)
value - allowed object is
Framepublic Offset getOffset()
Offsetpublic void setOffset(Offset value)
value - allowed object is
Offsetpublic FormattedText getFootnote()
FormattedTextpublic void setFootnote(FormattedText value)
value - allowed object is
FormattedTextpublic Level getLevel()
Levelpublic void setLevel(Level value)
value - allowed object is
Levelpublic BigInteger getStaff()
BigIntegerpublic void setStaff(BigInteger value)
value - allowed object is
BigIntegerpublic HarmonyType getType()
HarmonyTypepublic void setType(HarmonyType value)
value - allowed object is
HarmonyTypepublic YesNo getPrintFrame()
YesNopublic void setPrintFrame(YesNo value)
value - allowed object is
YesNopublic YesNo getPrintObject()
YesNopublic void setPrintObject(YesNo value)
value - allowed object is
YesNopublic 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 AboveBelow getPlacement()
AboveBelowpublic void setPlacement(AboveBelow value)
value - allowed object is
AboveBelowCopyright © 2016 Audiveris Ltd. All rights reserved.