Class Grace

java.lang.Object
org.audiveris.proxymusic.Grace

public class Grace extends Object
The grace type indicates the presence of a grace note. The slash attribute for a grace note is yes for slashed grace notes. The steal-time-previous attribute indicates the percentage of time to steal from the previous note for the grace note. The steal-time-following attribute indicates the percentage of time to steal from the following note for the grace note, as for appoggiaturas. The make-time attribute indicates to make time, not steal time; the units are in real-time divisions for the grace note.

Java class for grace complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="grace">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="steal-time-previous" type="{}percent" />
       <attribute name="steal-time-following" type="{}percent" />
       <attribute name="make-time" type="{}divisions" />
       <attribute name="slash" type="{}yes-no" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • stealTimePrevious

      protected BigDecimal stealTimePrevious
    • stealTimeFollowing

      protected BigDecimal stealTimeFollowing
    • makeTime

      protected BigDecimal makeTime
    • slash

      protected YesNo slash
  • Constructor Details

    • Grace

      public Grace()
  • Method Details

    • getStealTimePrevious

      public BigDecimal getStealTimePrevious()
      Gets the value of the stealTimePrevious property.
      Returns:
      possible object is BigDecimal
    • setStealTimePrevious

      public void setStealTimePrevious(BigDecimal value)
      Sets the value of the stealTimePrevious property.
      Parameters:
      value - allowed object is BigDecimal
    • getStealTimeFollowing

      public BigDecimal getStealTimeFollowing()
      Gets the value of the stealTimeFollowing property.
      Returns:
      possible object is BigDecimal
    • setStealTimeFollowing

      public void setStealTimeFollowing(BigDecimal value)
      Sets the value of the stealTimeFollowing property.
      Parameters:
      value - allowed object is BigDecimal
    • getMakeTime

      public BigDecimal getMakeTime()
      Gets the value of the makeTime property.
      Returns:
      possible object is BigDecimal
    • setMakeTime

      public void setMakeTime(BigDecimal value)
      Sets the value of the makeTime property.
      Parameters:
      value - allowed object is BigDecimal
    • getSlash

      public YesNo getSlash()
      Gets the value of the slash property.
      Returns:
      possible object is YesNo
    • setSlash

      public void setSlash(YesNo value)
      Sets the value of the slash property.
      Parameters:
      value - allowed object is YesNo