Package org.audiveris.proxymusic
Class Arrow
java.lang.Object
org.audiveris.proxymusic.Arrow
The arrow element represents an arrow used for a musical technical indication. It can represent both Unicode and SMuFL arrows. The presence of an arrowhead element indicates that only the arrowhead is displayed, not the arrow stem. The smufl attribute distinguishes different SMuFL glyphs that have an arrow appearance such as arrowBlackUp, guitarStrumUp, or handbellsSwingUp. The specified glyph should match the descriptive representation.
Java class for arrow complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="arrow">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<sequence>
<element name="arrow-direction" type="{}arrow-direction"/>
<element name="arrow-style" type="{}arrow-style" minOccurs="0"/>
<element name="arrowhead" type="{}empty" minOccurs="0"/>
</sequence>
<element name="circular-arrow" type="{}circular-arrow"/>
</choice>
<attGroup ref="{}smufl"/>
<attGroup ref="{}placement"/>
<attGroup ref="{}print-style"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArrowDirectionprotected Emptyprotected ArrowStyleprotected CircularArrowprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected AboveBelowprotected BigDecimalprotected BigDecimalprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the arrowDirection property.Gets the value of the arrowhead property.Gets the value of the arrowStyle property.Gets the value of the circularArrow 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 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 placement property.Gets the value of the relativeX property.Gets the value of the relativeY property.getSmufl()Gets the value of the smufl property.voidsetArrowDirection(ArrowDirection value) Sets the value of the arrowDirection property.voidsetArrowhead(Empty value) Sets the value of the arrowhead property.voidsetArrowStyle(ArrowStyle value) Sets the value of the arrowStyle property.voidsetCircularArrow(CircularArrow value) Sets the value of the circularArrow 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.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.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.voidSets the value of the smufl property.
-
Field Details
-
arrowDirection
-
arrowStyle
-
arrowhead
-
circularArrow
-
smufl
-
placement
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
-
Constructor Details
-
Arrow
public Arrow()
-
-
Method Details
-
getArrowDirection
Gets the value of the arrowDirection property.- Returns:
- possible object is
ArrowDirection
-
setArrowDirection
Sets the value of the arrowDirection property.- Parameters:
value- allowed object isArrowDirection
-
getArrowStyle
Gets the value of the arrowStyle property.- Returns:
- possible object is
ArrowStyle
-
setArrowStyle
Sets the value of the arrowStyle property.- Parameters:
value- allowed object isArrowStyle
-
getArrowhead
Gets the value of the arrowhead property.- Returns:
- possible object is
Empty
-
setArrowhead
Sets the value of the arrowhead property.- Parameters:
value- allowed object isEmpty
-
getCircularArrow
Gets the value of the circularArrow property.- Returns:
- possible object is
CircularArrow
-
setCircularArrow
Sets the value of the circularArrow property.- Parameters:
value- allowed object isCircularArrow
-
getSmufl
Gets the value of the smufl property.- Returns:
- possible object is
String
-
setSmufl
Sets the value of the smufl 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
-
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
-