Package org.audiveris.proxymusic
Class Tied
java.lang.Object
org.audiveris.proxymusic.Tied
The tied element represents the notated tie. The tie element represents the tie sound.
The number attribute is rarely needed to disambiguate ties, since note pitches will usually suffice. The attribute is implied rather than defaulting to 1 as with most elements. It is available for use in more complex tied notation situations.
Ties that join two notes of the same pitch together should be represented with a tied element on the first note with type="start" and a tied element on the second note with type="stop". This can also be done if the two notes being tied are enharmonically equivalent, but have different step values. It is not recommended to use tied elements to join two notes with enharmonically inequivalent pitches.
Ties that indicate that an instrument should be undamped are specified with a single tied element with type="let-ring".
Ties that are visually attached to only one note, other than undamped ties, should be specified with two tied elements on the same note, first type="start" then type="stop". This can be used to represent ties into or out of repeated sections or codas.
Java class for tied complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="tied">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{}line-type"/>
<attGroup ref="{}position"/>
<attGroup ref="{}orientation"/>
<attGroup ref="{}optional-unique-id"/>
<attGroup ref="{}bezier"/>
<attGroup ref="{}dashed-formatting"/>
<attGroup ref="{}placement"/>
<attGroup ref="{}color"/>
<attribute name="type" use="required" type="{}tied-type" />
<attribute name="number" type="{}number-level" />
</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 TiedType -
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.Gets 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.voidSets the value of the type property.
-
Field Details
-
type
-
number
-
lineType
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
orientation
-
id
-
bezierX
-
bezierY
-
bezierX2
-
bezierY2
-
bezierOffset
-
bezierOffset2
-
dashLength
-
spaceLength
-
placement
-
color
-
-
Constructor Details
-
Tied
public Tied()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
TiedType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isTiedType
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-