Class StaffDetails

java.lang.Object
org.audiveris.proxymusic.StaffDetails

public class StaffDetails extends Object
The staff-details element is used to indicate different types of staves. The optional number attribute specifies the staff number from top to bottom on the system, as with clef. The print-object attribute is used to indicate when a staff is not printed in a part, usually in large scores where empty parts are omitted. It is yes by default. If print-spacing is yes while print-object is no, the score is printed in cutaway format where vertical space is left for the empty part.

Java class for staff-details complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="staff-details">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="staff-type" type="{}staff-type" minOccurs="0"/>
         <sequence minOccurs="0">
           <element name="staff-lines" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
           <element name="line-detail" type="{}line-detail" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
         <element name="staff-tuning" type="{}staff-tuning" maxOccurs="unbounded" minOccurs="0"/>
         <element name="capo" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="staff-size" type="{}staff-size" minOccurs="0"/>
       </sequence>
       <attGroup ref="{}print-spacing"/>
       <attGroup ref="{}print-object"/>
       <attribute name="number" type="{}staff-number" />
       <attribute name="show-frets" type="{}show-frets" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • StaffDetails

      public StaffDetails()
  • Method Details

    • getStaffType

      public StaffType getStaffType()
      Gets the value of the staffType property.
      Returns:
      possible object is StaffType
    • setStaffType

      public void setStaffType(StaffType value)
      Sets the value of the staffType property.
      Parameters:
      value - allowed object is StaffType
    • getStaffLines

      public BigInteger getStaffLines()
      Gets the value of the staffLines property.
      Returns:
      possible object is BigInteger
    • setStaffLines

      public void setStaffLines(BigInteger value)
      Sets the value of the staffLines property.
      Parameters:
      value - allowed object is BigInteger
    • getLineDetail

      public List<LineDetail> getLineDetail()
      Gets the value of the lineDetail property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the lineDetail property.

      For example, to add a new item, do as follows:

          getLineDetail().add(newItem);
       

      Objects of the following type(s) are allowed in the list LineDetail

    • getStaffTuning

      public List<StaffTuning> getStaffTuning()
      Gets the value of the staffTuning property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the staffTuning property.

      For example, to add a new item, do as follows:

          getStaffTuning().add(newItem);
       

      Objects of the following type(s) are allowed in the list StaffTuning

    • getCapo

      public BigInteger getCapo()
      Gets the value of the capo property.
      Returns:
      possible object is BigInteger
    • setCapo

      public void setCapo(BigInteger value)
      Sets the value of the capo property.
      Parameters:
      value - allowed object is BigInteger
    • getStaffSize

      public StaffSize getStaffSize()
      Gets the value of the staffSize property.
      Returns:
      possible object is StaffSize
    • setStaffSize

      public void setStaffSize(StaffSize value)
      Sets the value of the staffSize property.
      Parameters:
      value - allowed object is StaffSize
    • getNumber

      public BigInteger getNumber()
      Gets the value of the number property.
      Returns:
      possible object is BigInteger
    • setNumber

      public void setNumber(BigInteger value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is BigInteger
    • getShowFrets

      public ShowFrets getShowFrets()
      Gets the value of the showFrets property.
      Returns:
      possible object is ShowFrets
    • setShowFrets

      public void setShowFrets(ShowFrets value)
      Sets the value of the showFrets property.
      Parameters:
      value - allowed object is ShowFrets
    • getPrintSpacing

      public YesNo getPrintSpacing()
      Gets the value of the printSpacing property.
      Returns:
      possible object is YesNo
    • setPrintSpacing

      public void setPrintSpacing(YesNo value)
      Sets the value of the printSpacing property.
      Parameters:
      value - allowed object is YesNo
    • getPrintObject

      public YesNo getPrintObject()
      Gets the value of the printObject property.
      Returns:
      possible object is YesNo
    • setPrintObject

      public void setPrintObject(YesNo value)
      Sets the value of the printObject property.
      Parameters:
      value - allowed object is YesNo