Package org.audiveris.proxymusic
Class Pedal
java.lang.Object
org.audiveris.proxymusic.Pedal
The pedal type represents piano pedal marks, including damper and sostenuto pedal marks. The line attribute is yes if pedal lines are used. The sign attribute is yes if Ped, Sost, and * signs are used. For compatibility with older versions, the sign attribute is yes by default if the line attribute is no, and is no by default if the line attribute is yes. If the sign attribute is set to yes and the type is start or sostenuto, the abbreviated attribute is yes if the short P and S signs are used, and no if the full Ped and Sost signs are used. It is no by default. Otherwise the abbreviated attribute is ignored. The alignment attributes are ignored if the sign attribute is no.
Java class for pedal complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="pedal">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{}optional-unique-id"/>
<attGroup ref="{}print-style-align"/>
<attribute name="type" use="required" type="{}pedal-type" />
<attribute name="number" type="{}number-level" />
<attribute name="line" type="{}yes-no" />
<attribute name="sign" type="{}yes-no" />
<attribute name="abbreviated" type="{}yes-no" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected YesNoprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected LeftCenterRightprotected Stringprotected YesNoprotected Integerprotected BigDecimalprotected BigDecimalprotected YesNoprotected PedalTypeprotected Valign -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the abbreviated 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 fontFamily property.Gets the value of the fontSize property.Gets the value of the fontStyle property.Gets the value of the fontWeight property.Gets the value of the halign property.getId()Gets the value of the id property.getLine()Gets the value of the line property.Gets the value of the number property.Gets the value of the relativeX property.Gets the value of the relativeY property.getSign()Gets the value of the sign property.getType()Gets the value of the type property.Gets the value of the valign property.voidsetAbbreviated(YesNo value) Sets the value of the abbreviated 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.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.voidsetHalign(LeftCenterRight value) Sets the value of the halign property.voidSets the value of the id property.voidSets the value of the line property.voidSets the value of the number 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 sign property.voidSets the value of the type property.voidSets the value of the valign property.
-
Field Details
-
type
-
number
-
line
-
sign
-
abbreviated
-
id
-
valign
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
halign
-
-
Constructor Details
-
Pedal
public Pedal()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
PedalType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isPedalType
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
Integer
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isInteger
-
getLine
Gets the value of the line property.- Returns:
- possible object is
YesNo
-
setLine
Sets the value of the line property.- Parameters:
value- allowed object isYesNo
-
getSign
Gets the value of the sign property.- Returns:
- possible object is
YesNo
-
setSign
Sets the value of the sign property.- Parameters:
value- allowed object isYesNo
-
getAbbreviated
Gets the value of the abbreviated property.- Returns:
- possible object is
YesNo
-
setAbbreviated
Sets the value of the abbreviated property.- Parameters:
value- allowed object isYesNo
-
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
-
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
-