public class Key extends Object
Java class for key complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="key">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<group ref="{}traditional-key"/>
<group ref="{}non-traditional-key" maxOccurs="unbounded" minOccurs="0"/>
</choice>
<element name="key-octave" type="{}key-octave" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attGroup ref="{}print-style"/>
<attGroup ref="{}print-object"/>
<attribute name="number" type="{}staff-number" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Cancel |
cancel |
protected String |
color |
protected BigDecimal |
defaultX |
protected BigDecimal |
defaultY |
protected BigInteger |
fifths |
protected String |
fontFamily |
protected String |
fontSize |
protected FontStyle |
fontStyle |
protected FontWeight |
fontWeight |
protected List<KeyOctave> |
keyOctave |
protected String |
mode |
protected List<Object> |
nonTraditionalKey |
protected BigInteger |
number |
protected YesNo |
printObject |
protected BigDecimal |
relativeX |
protected BigDecimal |
relativeY |
| Constructor and Description |
|---|
Key() |
| Modifier and Type | Method and Description |
|---|---|
Cancel |
getCancel()
Gets the value of the cancel 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.
|
BigInteger |
getFifths()
Gets the value of the fifths 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.
|
List<KeyOctave> |
getKeyOctave()
Gets the value of the keyOctave property.
|
String |
getMode()
Gets the value of the mode property.
|
List<Object> |
getNonTraditionalKey()
Gets the value of the nonTraditionalKey property.
|
BigInteger |
getNumber()
Gets the value of the number 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.
|
void |
setCancel(Cancel value)
Sets the value of the cancel 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 |
setFifths(BigInteger value)
Sets the value of the fifths 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 |
setMode(String value)
Sets the value of the mode property.
|
void |
setNumber(BigInteger value)
Sets the value of the number 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.
|
protected Cancel cancel
protected BigInteger fifths
protected String mode
protected BigInteger number
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 YesNo printObject
public Cancel getCancel()
Cancelpublic void setCancel(Cancel value)
value - allowed object is
Cancelpublic BigInteger getFifths()
BigIntegerpublic void setFifths(BigInteger value)
value - allowed object is
BigIntegerpublic String getMode()
Stringpublic void setMode(String value)
value - allowed object is
Stringpublic List<Object> getNonTraditionalKey()
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 nonTraditionalKey property.
For example, to add a new item, do as follows:
getNonTraditionalKey().add(newItem);
Objects of the following type(s) are allowed in the list
Step
BigDecimal
AccidentalValue
public List<KeyOctave> getKeyOctave()
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 keyOctave property.
For example, to add a new item, do as follows:
getKeyOctave().add(newItem);
Objects of the following type(s) are allowed in the list
KeyOctave
public BigInteger getNumber()
BigIntegerpublic void setNumber(BigInteger value)
value - allowed object is
BigIntegerpublic 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 YesNo getPrintObject()
YesNoCopyright © 2016 Audiveris Ltd. All rights reserved.