Class Key
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="{}optional-unique-id"/>
<attGroup ref="{}print-object"/>
<attGroup ref="{}print-style"/>
<attribute name="number" type="{}staff-number" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Cancelprotected Stringprotected BigDecimalprotected BigDecimalprotected BigIntegerprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected Stringprotected Stringprotected BigIntegerprotected YesNoprotected BigDecimalprotected BigDecimal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the cancel 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 fifths 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.getId()Gets the value of the id property.Gets the value of the keyOctave property.getMode()Gets the value of the mode property.Gets the value of the nonTraditionalKey property.Gets the value of the number property.Gets the value of the printObject property.Gets the value of the relativeX property.Gets the value of the relativeY property.voidSets the value of the cancel 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.voidsetFifths(BigInteger value) Sets the value of the fifths 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.voidSets the value of the id property.voidSets the value of the mode property.voidsetNumber(BigInteger value) Sets the value of the number 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.
-
Field Details
-
cancel
-
fifths
-
mode
-
nonTraditionalKey
-
keyOctave
-
number
-
id
-
printObject
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
-
Constructor Details
-
Key
public Key()
-
-
Method Details
-
getCancel
Gets the value of the cancel property.- Returns:
- possible object is
Cancel
-
setCancel
Sets the value of the cancel property.- Parameters:
value- allowed object isCancel
-
getFifths
Gets the value of the fifths property.- Returns:
- possible object is
BigInteger
-
setFifths
Sets the value of the fifths property.- Parameters:
value- allowed object isBigInteger
-
getMode
Gets the value of the mode property.- Returns:
- possible object is
String
-
setMode
Sets the value of the mode property.- Parameters:
value- allowed object isString
-
getNonTraditionalKey
Gets the value of the nonTraditionalKey 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 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
StepBigDecimalKeyAccidental -
getKeyOctave
Gets the value of the keyOctave 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 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 -
getNumber
Gets the value of the number property.- Returns:
- possible object is
BigInteger
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isBigInteger
-
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
-
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
-
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
-