Class Stem

java.lang.Object
org.audiveris.proxymusic.Stem

public class Stem extends Object
Stems can be down, up, none, or double. For down and up stems, the position attributes can be used to specify stem length. The relative values specify the end of the stem relative to the program default. Default values specify an absolute end stem position. Negative values of relative-y that would flip a stem instead of shortening it are ignored. A stem element associated with a rest refers to a stemlet.

Java class for stem complex type.

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

 <complexType name="stem">
   <simpleContent>
     <extension base="<>stem-value">
       <attGroup ref="{}y-position"/>
       <attGroup ref="{}color"/>
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Stem

      public Stem()
  • Method Details

    • getValue

      public StemValue getValue()
      The stem-value type represents the notated stem direction.
      Returns:
      possible object is StemValue
    • setValue

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