Package org.audiveris.proxymusic
Class Mordent
java.lang.Object
org.audiveris.proxymusic.EmptyTrillSound
org.audiveris.proxymusic.Mordent
The mordent type is used for both represents the mordent sign with the vertical line and the inverted-mordent sign without the line. The long attribute is "no" by default. The approach and departure attributes are used for compound ornaments, indicating how the beginning and ending of the ornament look relative to the main part of the mordent.
Java class for mordent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="mordent">
<complexContent>
<extension base="{}empty-trill-sound">
<attribute name="long" type="{}yes-no" />
<attribute name="approach" type="{}above-below" />
<attribute name="departure" type="{}above-below" />
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class org.audiveris.proxymusic.EmptyTrillSound
accelerate, beats, color, defaultX, defaultY, fontFamily, fontSize, fontStyle, fontWeight, lastBeat, placement, relativeX, relativeY, secondBeat, startNote, trillStep, twoNoteTurn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the approach property.Gets the value of the departure property.getLong()Gets the value of the long property.voidsetApproach(AboveBelow value) Sets the value of the approach property.voidsetDeparture(AboveBelow value) Sets the value of the departure property.voidSets the value of the long property.Methods inherited from class org.audiveris.proxymusic.EmptyTrillSound
getAccelerate, getBeats, getColor, getDefaultX, getDefaultY, getFontFamily, getFontSize, getFontStyle, getFontWeight, getLastBeat, getPlacement, getRelativeX, getRelativeY, getSecondBeat, getStartNote, getTrillStep, getTwoNoteTurn, setAccelerate, setBeats, setColor, setDefaultX, setDefaultY, setFontFamily, setFontSize, setFontStyle, setFontWeight, setLastBeat, setPlacement, setRelativeX, setRelativeY, setSecondBeat, setStartNote, setTrillStep, setTwoNoteTurn
-
Field Details
-
_long
-
approach
-
departure
-
-
Constructor Details
-
Mordent
public Mordent()
-
-
Method Details
-
getLong
Gets the value of the long property.- Returns:
- possible object is
YesNo
-
setLong
Sets the value of the long property.- Parameters:
value- allowed object isYesNo
-
getApproach
Gets the value of the approach property.- Returns:
- possible object is
AboveBelow
-
setApproach
Sets the value of the approach property.- Parameters:
value- allowed object isAboveBelow
-
getDeparture
Gets the value of the departure property.- Returns:
- possible object is
AboveBelow
-
setDeparture
Sets the value of the departure property.- Parameters:
value- allowed object isAboveBelow
-