Package org.audiveris.proxymusic
Class OctaveShift
java.lang.Object
org.audiveris.proxymusic.OctaveShift
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected Stringprotected Integerprotected BigDecimalprotected BigDecimalprotected BigIntegerprotected BigDecimalprotected UpDownStopContinue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color property.Gets the value of the dashLength property.Gets the value of the defaultX property.Gets the value of the defaultY property.Gets the value of the fontFamily property.Gets the value of the fontSize property.Gets the value of the fontStyle property.Gets the value of the fontWeight property.getId()Gets the value of the id property.Gets the value of the number property.Gets the value of the relativeX property.Gets the value of the relativeY property.getSize()Gets the value of the size property.Gets the value of the spaceLength property.getType()Gets the value of the type property.voidSets the value of the color property.voidsetDashLength(BigDecimal value) Sets the value of the dashLength property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetFontFamily(String value) Sets the value of the fontFamily property.voidsetFontSize(String value) Sets the value of the fontSize property.voidsetFontStyle(FontStyle value) Sets the value of the fontStyle property.voidsetFontWeight(FontWeight value) Sets the value of the fontWeight property.voidSets the value of the id property.voidSets the value of the number property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetSize(BigInteger value) Sets the value of the size property.voidsetSpaceLength(BigDecimal value) Sets the value of the spaceLength property.voidsetType(UpDownStopContinue value) Sets the value of the type property.
-
Field Details
-
type
-
number
-
size
-
id
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
dashLength
-
spaceLength
-
-
Constructor Details
-
OctaveShift
public OctaveShift()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
UpDownStopContinue
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isUpDownStopContinue
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
Integer
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isInteger
-
getSize
Gets the value of the size property.- Returns:
- possible object is
BigInteger
-
setSize
Sets the value of the size property.- Parameters:
value- allowed object isBigInteger
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
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
-
getFontFamily
Gets the value of the fontFamily property.- Returns:
- possible object is
String
-
setFontFamily
Sets the value of the fontFamily property.- Parameters:
value- allowed object isString
-
getFontStyle
Gets the value of the fontStyle property.- Returns:
- possible object is
FontStyle
-
setFontStyle
Sets the value of the fontStyle property.- Parameters:
value- allowed object isFontStyle
-
getFontSize
Gets the value of the fontSize property.- Returns:
- possible object is
String
-
setFontSize
Sets the value of the fontSize property.- Parameters:
value- allowed object isString
-
getFontWeight
Gets the value of the fontWeight property.- Returns:
- possible object is
FontWeight
-
setFontWeight
Sets the value of the fontWeight property.- Parameters:
value- allowed object isFontWeight
-
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
-
getDashLength
Gets the value of the dashLength property.- Returns:
- possible object is
BigDecimal
-
setDashLength
Sets the value of the dashLength property.- Parameters:
value- allowed object isBigDecimal
-
getSpaceLength
Gets the value of the spaceLength property.- Returns:
- possible object is
BigDecimal
-
setSpaceLength
Sets the value of the spaceLength property.- Parameters:
value- allowed object isBigDecimal
-