Package org.audiveris.proxymusic
Class Rest
java.lang.Object
org.audiveris.proxymusic.Rest
The rest element indicates notated rests or silences. Rest elements are usually empty, but placement on the staff can be specified using display-step and display-octave elements. If the measure attribute is set to yes, this indicates this is a complete measure rest.
Java class for rest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="rest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{}display-step-octave" minOccurs="0"/>
</sequence>
<attribute name="measure" type="{}yes-no" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the displayOctave property.Gets the value of the displayStep property.Gets the value of the measure property.voidsetDisplayOctave(Integer value) Sets the value of the displayOctave property.voidsetDisplayStep(Step value) Sets the value of the displayStep property.voidsetMeasure(YesNo value) Sets the value of the measure property.
-
Field Details
-
displayStep
-
displayOctave
-
measure
-
-
Constructor Details
-
Rest
public Rest()
-
-
Method Details
-
getDisplayStep
Gets the value of the displayStep property.- Returns:
- possible object is
Step
-
setDisplayStep
Sets the value of the displayStep property.- Parameters:
value- allowed object isStep
-
getDisplayOctave
Gets the value of the displayOctave property.- Returns:
- possible object is
Integer
-
setDisplayOctave
Sets the value of the displayOctave property.- Parameters:
value- allowed object isInteger
-
getMeasure
Gets the value of the measure property.- Returns:
- possible object is
YesNo
-
setMeasure
Sets the value of the measure property.- Parameters:
value- allowed object isYesNo
-