Package org.audiveris.proxymusic
Class PartSymbol
java.lang.Object
org.audiveris.proxymusic.PartSymbol
The part-symbol type indicates how a symbol for a multi-staff part is indicated in the score; brace is the default value. The top-staff and bottom-staff attributes are used when the brace does not extend across the entire part. For example, in a 3-staff organ part, the top-staff will typically be 1 for the right hand, while the bottom-staff will typically be 2 for the left hand. Staff 3 for the pedals is usually outside the brace. By default, the presence of a part-symbol element that does not extend across the entire part also indicates a corresponding change in the common barlines within a part.
Java class for part-symbol complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="part-symbol">
<simpleContent>
<extension base="<>group-symbol-value">
<attGroup ref="{}position"/>
<attGroup ref="{}color"/>
<attribute name="top-staff" type="{}staff-number" />
<attribute name="bottom-staff" type="{}staff-number" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigIntegerprotected Stringprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigIntegerprotected GroupSymbolValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the bottomStaff property.getColor()Gets the value of the color property.Gets the value of the defaultX property.Gets the value of the defaultY property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the topStaff property.getValue()The group-symbol-value type indicates how the symbol for a group or multi-staff part is indicated in the score.voidsetBottomStaff(BigInteger value) Sets the value of the bottomStaff property.voidSets the value of the color property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetTopStaff(BigInteger value) Sets the value of the topStaff property.voidsetValue(GroupSymbolValue value) Sets the value of the value property.
-
Field Details
-
value
-
topStaff
-
bottomStaff
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
color
-
-
Constructor Details
-
PartSymbol
public PartSymbol()
-
-
Method Details
-
getValue
The group-symbol-value type indicates how the symbol for a group or multi-staff part is indicated in the score.- Returns:
- possible object is
GroupSymbolValue
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isGroupSymbolValue
-
getTopStaff
Gets the value of the topStaff property.- Returns:
- possible object is
BigInteger
-
setTopStaff
Sets the value of the topStaff property.- Parameters:
value- allowed object isBigInteger
-
getBottomStaff
Gets the value of the bottomStaff property.- Returns:
- possible object is
BigInteger
-
setBottomStaff
Sets the value of the bottomStaff property.- Parameters:
value- allowed object isBigInteger
-
getDefaultX
Gets the value of the defaultX property.- Returns:
- possible object is
BigDecimal
-
setDefaultX
Sets the value of the defaultX property.- Parameters:
value- allowed object isBigDecimal
-
getDefaultY
Gets the value of the defaultY property.- Returns:
- possible object is
BigDecimal
-
setDefaultY
Sets the value of the defaultY property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeX
Gets the value of the relativeX property.- Returns:
- possible object is
BigDecimal
-
setRelativeX
Sets the value of the relativeX property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeY
Gets the value of the relativeY property.- Returns:
- possible object is
BigDecimal
-
setRelativeY
Sets the value of the relativeY property.- Parameters:
value- allowed object isBigDecimal
-
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
-