Package org.audiveris.proxymusic
Class MeasureStyle
java.lang.Object
org.audiveris.proxymusic.MeasureStyle
A measure-style indicates a special way to print partial to multiple measures within a part. This includes multiple rests over several measures, repeats of beats, single, or multiple measures, and use of slash notation.
The multiple-rest and measure-repeat elements indicate the number of measures covered in the element content. The beat-repeat and slash elements can cover partial measures. All but the multiple-rest element use a type attribute to indicate starting and stopping the use of the style. The optional number attribute specifies the staff number from top to bottom on the system, as with clef.
Java class for measure-style complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="measure-style">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="multiple-rest" type="{}multiple-rest"/>
<element name="measure-repeat" type="{}measure-repeat"/>
<element name="beat-repeat" type="{}beat-repeat"/>
<element name="slash" type="{}slash"/>
</choice>
<attGroup ref="{}font"/>
<attGroup ref="{}optional-unique-id"/>
<attGroup ref="{}color"/>
<attribute name="number" type="{}staff-number" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BeatRepeatprotected Stringprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected Stringprotected MeasureRepeatprotected MultipleRestprotected BigIntegerprotected Slash -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the beatRepeat property.getColor()Gets the value of the color 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.getId()Gets the value of the id property.Gets the value of the measureRepeat property.Gets the value of the multipleRest property.Gets the value of the number property.getSlash()Gets the value of the slash property.voidsetBeatRepeat(BeatRepeat value) Sets the value of the beatRepeat property.voidSets the value of the color 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.voidSets the value of the id property.voidsetMeasureRepeat(MeasureRepeat value) Sets the value of the measureRepeat property.voidsetMultipleRest(MultipleRest value) Sets the value of the multipleRest property.voidsetNumber(BigInteger value) Sets the value of the number property.voidSets the value of the slash property.
-
Field Details
-
multipleRest
-
measureRepeat
-
beatRepeat
-
slash
-
number
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
id
-
color
-
-
Constructor Details
-
MeasureStyle
public MeasureStyle()
-
-
Method Details
-
getMultipleRest
Gets the value of the multipleRest property.- Returns:
- possible object is
MultipleRest
-
setMultipleRest
Sets the value of the multipleRest property.- Parameters:
value- allowed object isMultipleRest
-
getMeasureRepeat
Gets the value of the measureRepeat property.- Returns:
- possible object is
MeasureRepeat
-
setMeasureRepeat
Sets the value of the measureRepeat property.- Parameters:
value- allowed object isMeasureRepeat
-
getBeatRepeat
Gets the value of the beatRepeat property.- Returns:
- possible object is
BeatRepeat
-
setBeatRepeat
Sets the value of the beatRepeat property.- Parameters:
value- allowed object isBeatRepeat
-
getSlash
Gets the value of the slash property.- Returns:
- possible object is
Slash
-
setSlash
Sets the value of the slash property.- Parameters:
value- allowed object isSlash
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
BigInteger
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isBigInteger
-
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
-
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
-
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
-