Package org.audiveris.proxymusic
Class Percussion
java.lang.Object
org.audiveris.proxymusic.Percussion
The percussion element is used to define percussion pictogram symbols. Definitions for these symbols can be found in Kurt Stone's "Music Notation in the Twentieth Century" on pages 206-212 and 223. Some values are added to these based on how usage has evolved in the 30 years since Stone's book was published.
Java class for percussion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="percussion">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="glass" type="{}glass"/>
<element name="metal" type="{}metal"/>
<element name="wood" type="{}wood"/>
<element name="pitched" type="{}pitched"/>
<element name="membrane" type="{}membrane"/>
<element name="effect" type="{}effect"/>
<element name="timpani" type="{}timpani"/>
<element name="beater" type="{}beater"/>
<element name="stick" type="{}stick"/>
<element name="stick-location" type="{}stick-location"/>
<element name="other-percussion" type="{}other-text"/>
</choice>
<attGroup ref="{}print-style-align"/>
<attGroup ref="{}enclosure"/>
<attGroup ref="{}optional-unique-id"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Beaterprotected Stringprotected BigDecimalprotected BigDecimalprotected Effectprotected EnclosureShapeprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected Glassprotected LeftCenterRightprotected Stringprotected Membraneprotected Metalprotected OtherTextprotected Pitchedprotected BigDecimalprotected BigDecimalprotected Stickprotected StickLocationprotected Timpaniprotected Valignprotected Wood -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the beater 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 effect property.Gets the value of the enclosure 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.getGlass()Gets the value of the glass property.Gets the value of the halign property.getId()Gets the value of the id property.Gets the value of the membrane property.getMetal()Gets the value of the metal property.Gets the value of the otherPercussion property.Gets the value of the pitched property.Gets the value of the relativeX property.Gets the value of the relativeY property.getStick()Gets the value of the stick property.Gets the value of the stickLocation property.Gets the value of the timpani property.Gets the value of the valign property.getWood()Gets the value of the wood property.voidSets the value of the beater 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.voidSets the value of the effect property.voidsetEnclosure(EnclosureShape value) Sets the value of the enclosure 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 glass property.voidsetHalign(LeftCenterRight value) Sets the value of the halign property.voidSets the value of the id property.voidsetMembrane(Membrane value) Sets the value of the membrane property.voidSets the value of the metal property.voidsetOtherPercussion(OtherText value) Sets the value of the otherPercussion property.voidsetPitched(Pitched value) Sets the value of the pitched 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 stick property.voidsetStickLocation(StickLocation value) Sets the value of the stickLocation property.voidsetTimpani(Timpani value) Sets the value of the timpani property.voidSets the value of the valign property.voidSets the value of the wood property.
-
Field Details
-
glass
-
metal
-
wood
-
pitched
-
membrane
-
effect
-
timpani
-
beater
-
stick
-
stickLocation
-
otherPercussion
-
valign
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
halign
-
enclosure
-
id
-
-
Constructor Details
-
Percussion
public Percussion()
-
-
Method Details
-
getGlass
Gets the value of the glass property.- Returns:
- possible object is
Glass
-
setGlass
Sets the value of the glass property.- Parameters:
value- allowed object isGlass
-
getMetal
Gets the value of the metal property.- Returns:
- possible object is
Metal
-
setMetal
Sets the value of the metal property.- Parameters:
value- allowed object isMetal
-
getWood
Gets the value of the wood property.- Returns:
- possible object is
Wood
-
setWood
Sets the value of the wood property.- Parameters:
value- allowed object isWood
-
getPitched
Gets the value of the pitched property.- Returns:
- possible object is
Pitched
-
setPitched
Sets the value of the pitched property.- Parameters:
value- allowed object isPitched
-
getMembrane
Gets the value of the membrane property.- Returns:
- possible object is
Membrane
-
setMembrane
Sets the value of the membrane property.- Parameters:
value- allowed object isMembrane
-
getEffect
Gets the value of the effect property.- Returns:
- possible object is
Effect
-
setEffect
Sets the value of the effect property.- Parameters:
value- allowed object isEffect
-
getTimpani
Gets the value of the timpani property.- Returns:
- possible object is
Timpani
-
setTimpani
Sets the value of the timpani property.- Parameters:
value- allowed object isTimpani
-
getBeater
Gets the value of the beater property.- Returns:
- possible object is
Beater
-
setBeater
Sets the value of the beater property.- Parameters:
value- allowed object isBeater
-
getStick
Gets the value of the stick property.- Returns:
- possible object is
Stick
-
setStick
Sets the value of the stick property.- Parameters:
value- allowed object isStick
-
getStickLocation
Gets the value of the stickLocation property.- Returns:
- possible object is
StickLocation
-
setStickLocation
Sets the value of the stickLocation property.- Parameters:
value- allowed object isStickLocation
-
getOtherPercussion
Gets the value of the otherPercussion property.- Returns:
- possible object is
OtherText
-
setOtherPercussion
Sets the value of the otherPercussion property.- Parameters:
value- allowed object isOtherText
-
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
-
getEnclosure
Gets the value of the enclosure property.- Returns:
- possible object is
EnclosureShape
-
setEnclosure
Sets the value of the enclosure property.- Parameters:
value- allowed object isEnclosureShape
-
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
-