Class Pedal

java.lang.Object
org.audiveris.proxymusic.Pedal

public class Pedal extends Object
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 Details

  • Constructor Details

    • Pedal

      public Pedal()
  • Method Details

    • getType

      public PedalType getType()
      Gets the value of the type property.
      Returns:
      possible object is PedalType
    • setType

      public void setType(PedalType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is PedalType
    • getNumber

      public Integer getNumber()
      Gets the value of the number property.
      Returns:
      possible object is Integer
    • setNumber

      public void setNumber(Integer value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is Integer
    • getLine

      public YesNo getLine()
      Gets the value of the line property.
      Returns:
      possible object is YesNo
    • setLine

      public void setLine(YesNo value)
      Sets the value of the line property.
      Parameters:
      value - allowed object is YesNo
    • getSign

      public YesNo getSign()
      Gets the value of the sign property.
      Returns:
      possible object is YesNo
    • setSign

      public void setSign(YesNo value)
      Sets the value of the sign property.
      Parameters:
      value - allowed object is YesNo
    • getAbbreviated

      public YesNo getAbbreviated()
      Gets the value of the abbreviated property.
      Returns:
      possible object is YesNo
    • setAbbreviated

      public void setAbbreviated(YesNo value)
      Sets the value of the abbreviated property.
      Parameters:
      value - allowed object is YesNo
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getValign

      public Valign getValign()
      Gets the value of the valign property.
      Returns:
      possible object is Valign
    • setValign

      public void setValign(Valign value)
      Sets the value of the valign property.
      Parameters:
      value - allowed object is Valign
    • getColor

      public String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor(String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getFontFamily

      public String getFontFamily()
      Gets the value of the fontFamily property.
      Returns:
      possible object is String
    • setFontFamily

      public void setFontFamily(String value)
      Sets the value of the fontFamily property.
      Parameters:
      value - allowed object is String
    • getFontStyle

      public FontStyle getFontStyle()
      Gets the value of the fontStyle property.
      Returns:
      possible object is FontStyle
    • setFontStyle

      public void setFontStyle(FontStyle value)
      Sets the value of the fontStyle property.
      Parameters:
      value - allowed object is FontStyle
    • getFontSize

      public String getFontSize()
      Gets the value of the fontSize property.
      Returns:
      possible object is String
    • setFontSize

      public void setFontSize(String value)
      Sets the value of the fontSize property.
      Parameters:
      value - allowed object is String
    • getFontWeight

      public FontWeight getFontWeight()
      Gets the value of the fontWeight property.
      Returns:
      possible object is FontWeight
    • setFontWeight

      public void setFontWeight(FontWeight value)
      Sets the value of the fontWeight property.
      Parameters:
      value - allowed object is FontWeight
    • getDefaultX

      public BigDecimal getDefaultX()
      Gets the value of the defaultX property.
      Returns:
      possible object is BigDecimal
    • setDefaultX

      public void setDefaultX(BigDecimal value)
      Sets the value of the defaultX property.
      Parameters:
      value - allowed object is BigDecimal
    • getDefaultY

      public BigDecimal getDefaultY()
      Gets the value of the defaultY property.
      Returns:
      possible object is BigDecimal
    • setDefaultY

      public void setDefaultY(BigDecimal value)
      Sets the value of the defaultY property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeX

      public BigDecimal getRelativeX()
      Gets the value of the relativeX property.
      Returns:
      possible object is BigDecimal
    • setRelativeX

      public void setRelativeX(BigDecimal value)
      Sets the value of the relativeX property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeY

      public BigDecimal getRelativeY()
      Gets the value of the relativeY property.
      Returns:
      possible object is BigDecimal
    • setRelativeY

      public void setRelativeY(BigDecimal value)
      Sets the value of the relativeY property.
      Parameters:
      value - allowed object is BigDecimal
    • getHalign

      public LeftCenterRight getHalign()
      Gets the value of the halign property.
      Returns:
      possible object is LeftCenterRight
    • setHalign

      public void setHalign(LeftCenterRight value)
      Sets the value of the halign property.
      Parameters:
      value - allowed object is LeftCenterRight