Package org.audiveris.proxymusic
Class Slur
java.lang.Object
org.audiveris.proxymusic.Slur
Slur types are empty. Most slurs are represented with two elements: one with a start type, and one with a stop type. Slurs can add more elements using a continue type. This is typically used to specify the formatting of cross-system slurs, or to specify the shape of very complex slurs.
Java class for slur complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="slur">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{}position"/>
<attGroup ref="{}line-type"/>
<attGroup ref="{}optional-unique-id"/>
<attGroup ref="{}placement"/>
<attGroup ref="{}bezier"/>
<attGroup ref="{}orientation"/>
<attGroup ref="{}color"/>
<attGroup ref="{}dashed-formatting"/>
<attribute name="type" use="required" type="{}start-stop-continue" />
<attribute name="number" type="{}number-level" default="1" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected LineTypeprotected Integerprotected OverUnderprotected AboveBelowprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected StartStopContinue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the bezierOffset property.Gets the value of the bezierOffset2 property.Gets the value of the bezierX property.Gets the value of the bezierX2 property.Gets the value of the bezierY property.Gets the value of the bezierY2 property.getColor()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.getId()Gets the value of the id property.Gets the value of the lineType property.intGets the value of the number property.Gets the value of the orientation property.Gets the value of the placement property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the spaceLength property.getType()Gets the value of the type property.voidsetBezierOffset(BigDecimal value) Sets the value of the bezierOffset property.voidsetBezierOffset2(BigDecimal value) Sets the value of the bezierOffset2 property.voidsetBezierX(BigDecimal value) Sets the value of the bezierX property.voidsetBezierX2(BigDecimal value) Sets the value of the bezierX2 property.voidsetBezierY(BigDecimal value) Sets the value of the bezierY property.voidsetBezierY2(BigDecimal value) Sets the value of the bezierY2 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.voidSets the value of the id property.voidsetLineType(LineType value) Sets the value of the lineType property.voidSets the value of the number property.voidsetOrientation(OverUnder value) Sets the value of the orientation property.voidsetPlacement(AboveBelow value) Sets the value of the placement property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetSpaceLength(BigDecimal value) Sets the value of the spaceLength property.voidsetType(StartStopContinue value) Sets the value of the type property.
-
Field Details
-
type
-
number
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
lineType
-
id
-
placement
-
bezierX
-
bezierY
-
bezierX2
-
bezierY2
-
bezierOffset
-
bezierOffset2
-
orientation
-
color
-
dashLength
-
spaceLength
-
-
Constructor Details
-
Slur
public Slur()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
StartStopContinue
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isStartStopContinue
-
getNumber
public int 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
-
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
-
getLineType
Gets the value of the lineType property.- Returns:
- possible object is
LineType
-
setLineType
Sets the value of the lineType property.- Parameters:
value- allowed object isLineType
-
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
-
getPlacement
Gets the value of the placement property.- Returns:
- possible object is
AboveBelow
-
setPlacement
Sets the value of the placement property.- Parameters:
value- allowed object isAboveBelow
-
getBezierX
Gets the value of the bezierX property.- Returns:
- possible object is
BigDecimal
-
setBezierX
Sets the value of the bezierX property.- Parameters:
value- allowed object isBigDecimal
-
getBezierY
Gets the value of the bezierY property.- Returns:
- possible object is
BigDecimal
-
setBezierY
Sets the value of the bezierY property.- Parameters:
value- allowed object isBigDecimal
-
getBezierX2
Gets the value of the bezierX2 property.- Returns:
- possible object is
BigDecimal
-
setBezierX2
Sets the value of the bezierX2 property.- Parameters:
value- allowed object isBigDecimal
-
getBezierY2
Gets the value of the bezierY2 property.- Returns:
- possible object is
BigDecimal
-
setBezierY2
Sets the value of the bezierY2 property.- Parameters:
value- allowed object isBigDecimal
-
getBezierOffset
Gets the value of the bezierOffset property.- Returns:
- possible object is
BigDecimal
-
setBezierOffset
Sets the value of the bezierOffset property.- Parameters:
value- allowed object isBigDecimal
-
getBezierOffset2
Gets the value of the bezierOffset2 property.- Returns:
- possible object is
BigDecimal
-
setBezierOffset2
Sets the value of the bezierOffset2 property.- Parameters:
value- allowed object isBigDecimal
-
getOrientation
Gets the value of the orientation property.- Returns:
- possible object is
OverUnder
-
setOrientation
Sets the value of the orientation property.- Parameters:
value- allowed object isOverUnder
-
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
-
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
-