Class OctaveShift

java.lang.Object
org.audiveris.proxymusic.OctaveShift

public class OctaveShift extends Object
The octave shift type indicates where notes are shifted up or down from their true pitched values because of printing difficulty. Thus a treble clef line noted with 8va will be indicated with an octave-shift down from the pitch data indicated in the notes. A size of 8 indicates one octave; a size of 15 indicates two octaves.

Java class for octave-shift complex type.

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

 <complexType name="octave-shift">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attGroup ref="{}optional-unique-id"/>
       <attGroup ref="{}print-style"/>
       <attGroup ref="{}dashed-formatting"/>
       <attribute name="type" use="required" type="{}up-down-stop-continue" />
       <attribute name="number" type="{}number-level" />
       <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="8" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • OctaveShift

      public OctaveShift()
  • Method Details

    • getType

      public UpDownStopContinue getType()
      Gets the value of the type property.
      Returns:
      possible object is UpDownStopContinue
    • setType

      public void setType(UpDownStopContinue value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is UpDownStopContinue
    • getNumber

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

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

      public BigInteger getSize()
      Gets the value of the size property.
      Returns:
      possible object is BigInteger
    • setSize

      public void setSize(BigInteger value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is BigInteger
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • 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
    • getFontFamily

      public String getFontFamily()
      Gets the value of the fontFamily property.
      Returns:
      possible object is String
    • setFontFamily

      public void setFontFamily(String value)
      Sets the value of the fontFamily property.
      Parameters:
      value - allowed object is String
    • getFontStyle

      public FontStyle getFontStyle()
      Gets the value of the fontStyle property.
      Returns:
      possible object is FontStyle
    • setFontStyle

      public void setFontStyle(FontStyle value)
      Sets the value of the fontStyle property.
      Parameters:
      value - allowed object is FontStyle
    • getFontSize

      public String getFontSize()
      Gets the value of the fontSize property.
      Returns:
      possible object is String
    • setFontSize

      public void setFontSize(String value)
      Sets the value of the fontSize property.
      Parameters:
      value - allowed object is String
    • getFontWeight

      public FontWeight getFontWeight()
      Gets the value of the fontWeight property.
      Returns:
      possible object is FontWeight
    • setFontWeight

      public void setFontWeight(FontWeight value)
      Sets the value of the fontWeight property.
      Parameters:
      value - allowed object is FontWeight
    • 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
    • getDashLength

      public BigDecimal getDashLength()
      Gets the value of the dashLength property.
      Returns:
      possible object is BigDecimal
    • setDashLength

      public void setDashLength(BigDecimal value)
      Sets the value of the dashLength property.
      Parameters:
      value - allowed object is BigDecimal
    • getSpaceLength

      public BigDecimal getSpaceLength()
      Gets the value of the spaceLength property.
      Returns:
      possible object is BigDecimal
    • setSpaceLength

      public void setSpaceLength(BigDecimal value)
      Sets the value of the spaceLength property.
      Parameters:
      value - allowed object is BigDecimal