Package org.audiveris.proxymusic
Class Wedge
java.lang.Object
org.audiveris.proxymusic.Wedge
The wedge type represents crescendo and diminuendo wedge symbols. The type attribute is crescendo for the start of a wedge that is closed at the left side, and diminuendo for the start of a wedge that is closed on the right side. Spread values are measured in tenths; those at the start of a crescendo wedge or end of a diminuendo wedge are ignored. The niente attribute is yes if a circle appears at the point of the wedge, indicating a crescendo from nothing or diminuendo to nothing. It is no by default, and used only when the type is crescendo, or the type is stop for a wedge that began with a diminuendo type. The line-type is solid if not specified.
Java class for wedge complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="wedge">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{}line-type"/>
<attGroup ref="{}optional-unique-id"/>
<attGroup ref="{}color"/>
<attGroup ref="{}position"/>
<attGroup ref="{}dashed-formatting"/>
<attribute name="type" use="required" type="{}wedge-type" />
<attribute name="number" type="{}number-level" />
<attribute name="spread" type="{}tenths" />
<attribute name="niente" type="{}yes-no" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected LineTypeprotected YesNoprotected Integerprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected WedgeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()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 niente property.Gets the value of the number property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the spaceLength property.Gets the value of the spread property.getType()Gets the value of the type 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 niente property.voidSets the value of the number 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.voidsetSpread(BigDecimal value) Sets the value of the spread property.voidSets the value of the type property.
-
Field Details
-
type
-
number
-
spread
-
niente
-
lineType
-
id
-
color
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
dashLength
-
spaceLength
-
-
Constructor Details
-
Wedge
public Wedge()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
WedgeType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isWedgeType
-
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
-
getSpread
Gets the value of the spread property.- Returns:
- possible object is
BigDecimal
-
setSpread
Sets the value of the spread property.- Parameters:
value- allowed object isBigDecimal
-
getNiente
Gets the value of the niente property.- Returns:
- possible object is
YesNo
-
setNiente
Sets the value of the niente property.- Parameters:
value- allowed object isYesNo
-
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
-
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
-
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
-
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
-