Class PartSymbol

java.lang.Object
org.audiveris.proxymusic.PartSymbol

public class PartSymbol extends Object
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 Details

  • Constructor Details

    • PartSymbol

      public PartSymbol()
  • Method Details

    • getValue

      public GroupSymbolValue 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

      public void setValue(GroupSymbolValue value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is GroupSymbolValue
    • getTopStaff

      public BigInteger getTopStaff()
      Gets the value of the topStaff property.
      Returns:
      possible object is BigInteger
    • setTopStaff

      public void setTopStaff(BigInteger value)
      Sets the value of the topStaff property.
      Parameters:
      value - allowed object is BigInteger
    • getBottomStaff

      public BigInteger getBottomStaff()
      Gets the value of the bottomStaff property.
      Returns:
      possible object is BigInteger
    • setBottomStaff

      public void setBottomStaff(BigInteger value)
      Sets the value of the bottomStaff property.
      Parameters:
      value - allowed object is BigInteger
    • getDefaultX

      public BigDecimal getDefaultX()
      Gets the value of the defaultX property.
      Returns:
      possible object is BigDecimal
    • setDefaultX

      public void setDefaultX(BigDecimal value)
      Sets the value of the defaultX property.
      Parameters:
      value - allowed object is BigDecimal
    • getDefaultY

      public BigDecimal getDefaultY()
      Gets the value of the defaultY property.
      Returns:
      possible object is BigDecimal
    • setDefaultY

      public void setDefaultY(BigDecimal value)
      Sets the value of the defaultY property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeX

      public BigDecimal getRelativeX()
      Gets the value of the relativeX property.
      Returns:
      possible object is BigDecimal
    • setRelativeX

      public void setRelativeX(BigDecimal value)
      Sets the value of the relativeX property.
      Parameters:
      value - allowed object is BigDecimal
    • getRelativeY

      public BigDecimal getRelativeY()
      Gets the value of the relativeY property.
      Returns:
      possible object is BigDecimal
    • setRelativeY

      public void setRelativeY(BigDecimal value)
      Sets the value of the relativeY property.
      Parameters:
      value - allowed object is BigDecimal
    • getColor

      public String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor(String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String