Package org.audiveris.proxymusic
Class Grace
java.lang.Object
org.audiveris.proxymusic.Grace
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 Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected YesNoprotected BigDecimalprotected BigDecimal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the makeTime property.getSlash()Gets the value of the slash property.Gets the value of the stealTimeFollowing property.Gets the value of the stealTimePrevious property.voidsetMakeTime(BigDecimal value) Sets the value of the makeTime property.voidSets the value of the slash property.voidsetStealTimeFollowing(BigDecimal value) Sets the value of the stealTimeFollowing property.voidsetStealTimePrevious(BigDecimal value) Sets the value of the stealTimePrevious property.
-
Field Details
-
stealTimePrevious
-
stealTimeFollowing
-
makeTime
-
slash
-
-
Constructor Details
-
Grace
public Grace()
-
-
Method Details
-
getStealTimePrevious
Gets the value of the stealTimePrevious property.- Returns:
- possible object is
BigDecimal
-
setStealTimePrevious
Sets the value of the stealTimePrevious property.- Parameters:
value- allowed object isBigDecimal
-
getStealTimeFollowing
Gets the value of the stealTimeFollowing property.- Returns:
- possible object is
BigDecimal
-
setStealTimeFollowing
Sets the value of the stealTimeFollowing property.- Parameters:
value- allowed object isBigDecimal
-
getMakeTime
Gets the value of the makeTime property.- Returns:
- possible object is
BigDecimal
-
setMakeTime
Sets the value of the makeTime property.- Parameters:
value- allowed object isBigDecimal
-
getSlash
Gets the value of the slash property.- Returns:
- possible object is
YesNo
-
setSlash
Sets the value of the slash property.- Parameters:
value- allowed object isYesNo
-