Package org.audiveris.proxymusic
Class Bracket
java.lang.Object
org.audiveris.proxymusic.Bracket
Brackets are combined with words in a variety of modern directions. The line-end attribute specifies if there is a jog up or down (or both), an arrow, or nothing at the start or end of the bracket. If the line-end is up or down, the length of the jog can be specified using the end-length attribute. The line-type is solid if not specified.
Java class for bracket complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="bracket">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{}color"/>
<attGroup ref="{}line-type"/>
<attGroup ref="{}dashed-formatting"/>
<attGroup ref="{}position"/>
<attGroup ref="{}optional-unique-id"/>
<attribute name="type" use="required" type="{}start-stop-continue" />
<attribute name="number" type="{}number-level" />
<attribute name="line-end" use="required" type="{}line-end" />
<attribute name="end-length" type="{}tenths" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected Stringprotected LineEndprotected LineTypeprotected Integerprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected StartStopContinue -
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.Gets the value of the endLength property.getId()Gets the value of the id property.Gets the value of the lineEnd property.Gets the value of the lineType 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.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.voidsetEndLength(BigDecimal value) Sets the value of the endLength property.voidSets the value of the id property.voidsetLineEnd(LineEnd value) Sets the value of the lineEnd property.voidsetLineType(LineType value) Sets the value of the lineType 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.voidsetType(StartStopContinue value) Sets the value of the type property.
-
Field Details
-
type
-
number
-
lineEnd
-
endLength
-
color
-
lineType
-
dashLength
-
spaceLength
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
id
-
-
Constructor Details
-
Bracket
public Bracket()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
StartStopContinue
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isStartStopContinue
-
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
-
getLineEnd
Gets the value of the lineEnd property.- Returns:
- possible object is
LineEnd
-
setLineEnd
Sets the value of the lineEnd property.- Parameters:
value- allowed object isLineEnd
-
getEndLength
Gets the value of the endLength property.- Returns:
- possible object is
BigDecimal
-
setEndLength
Sets the value of the endLength property.- Parameters:
value- allowed object isBigDecimal
-
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
-
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
-
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
-
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
-
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
-