Package org.audiveris.proxymusic
Class Bend
java.lang.Object
org.audiveris.proxymusic.Bend
The bend type is used in guitar notation and tablature. A single note with a bend and release will contain two bend elements: the first to represent the bend and the second to represent the release. The shape attribute distinguishes between the angled bend symbols commonly used in standard notation and the curved bend symbols commonly used in both tablature and standard notation.
Java class for bend complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="bend">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="bend-alter" type="{}semitones"/>
<choice minOccurs="0">
<element name="pre-bend" type="{}empty"/>
<element name="release" type="{}release"/>
</choice>
<element name="with-bar" type="{}placement-text" minOccurs="0"/>
</sequence>
<attGroup ref="{}print-style"/>
<attGroup ref="{}bend-sound"/>
<attribute name="shape" type="{}bend-shape" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected YesNoprotected BigDecimalprotected BigDecimalprotected Stringprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected BigDecimalprotected Emptyprotected BigDecimalprotected BigDecimalprotected Releaseprotected BendShapeprotected PlacementText -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the accelerate property.getBeats()Gets the value of the beats property.Gets the value of the bendAlter property.getColor()Gets the value of the color property.Gets the value of the defaultX property.Gets the value of the defaultY property.Gets the value of the firstBeat 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.Gets the value of the lastBeat property.Gets the value of the preBend property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the release property.getShape()Gets the value of the shape property.Gets the value of the withBar property.voidsetAccelerate(YesNo value) Sets the value of the accelerate property.voidsetBeats(BigDecimal value) Sets the value of the beats property.voidsetBendAlter(BigDecimal value) Sets the value of the bendAlter property.voidSets the value of the color property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetFirstBeat(BigDecimal value) Sets the value of the firstBeat 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.voidsetLastBeat(BigDecimal value) Sets the value of the lastBeat property.voidsetPreBend(Empty value) Sets the value of the preBend property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetRelease(Release value) Sets the value of the release property.voidSets the value of the shape property.voidsetWithBar(PlacementText value) Sets the value of the withBar property.
-
Field Details
-
bendAlter
-
preBend
-
release
-
withBar
-
shape
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
accelerate
-
beats
-
firstBeat
-
lastBeat
-
-
Constructor Details
-
Bend
public Bend()
-
-
Method Details
-
getBendAlter
Gets the value of the bendAlter property.- Returns:
- possible object is
BigDecimal
-
setBendAlter
Sets the value of the bendAlter property.- Parameters:
value- allowed object isBigDecimal
-
getPreBend
Gets the value of the preBend property.- Returns:
- possible object is
Empty
-
setPreBend
Sets the value of the preBend property.- Parameters:
value- allowed object isEmpty
-
getRelease
Gets the value of the release property.- Returns:
- possible object is
Release
-
setRelease
Sets the value of the release property.- Parameters:
value- allowed object isRelease
-
getWithBar
Gets the value of the withBar property.- Returns:
- possible object is
PlacementText
-
setWithBar
Sets the value of the withBar property.- Parameters:
value- allowed object isPlacementText
-
getShape
Gets the value of the shape property.- Returns:
- possible object is
BendShape
-
setShape
Sets the value of the shape property.- Parameters:
value- allowed object isBendShape
-
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
-
getAccelerate
Gets the value of the accelerate property.- Returns:
- possible object is
YesNo
-
setAccelerate
Sets the value of the accelerate property.- Parameters:
value- allowed object isYesNo
-
getBeats
Gets the value of the beats property.- Returns:
- possible object is
BigDecimal
-
setBeats
Sets the value of the beats property.- Parameters:
value- allowed object isBigDecimal
-
getFirstBeat
Gets the value of the firstBeat property.- Returns:
- possible object is
BigDecimal
-
setFirstBeat
Sets the value of the firstBeat property.- Parameters:
value- allowed object isBigDecimal
-
getLastBeat
Gets the value of the lastBeat property.- Returns:
- possible object is
BigDecimal
-
setLastBeat
Sets the value of the lastBeat property.- Parameters:
value- allowed object isBigDecimal
-