Package org.audiveris.proxymusic
Class LineDetail
java.lang.Object
org.audiveris.proxymusic.LineDetail
If the staff-lines element is present, the appearance of each line may be individually specified with a line-detail type. Staff lines are numbered from bottom to top. The print-object attribute allows lines to be hidden within a staff. This is used in special situations such as a widely-spaced percussion staff where a note placed below the higher line is distinct from a note placed above the lower line. Hidden staff lines are included when specifying clef lines and determining display-step / display-octave values, but are not counted as lines for the purposes of the system-layout and staff-layout elements.
Java class for line-detail complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="line-detail">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{}print-object"/>
<attGroup ref="{}color"/>
<attGroup ref="{}line-type"/>
<attribute name="line" use="required" type="{}staff-line" />
<attribute name="width" type="{}tenths" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigIntegerprotected LineTypeprotected YesNoprotected BigDecimal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color property.getLine()Gets the value of the line property.Gets the value of the lineType property.Gets the value of the printObject property.getWidth()Gets the value of the width property.voidSets the value of the color property.voidsetLine(BigInteger value) Sets the value of the line property.voidsetLineType(LineType value) Sets the value of the lineType property.voidsetPrintObject(YesNo value) Sets the value of the printObject property.voidsetWidth(BigDecimal value) Sets the value of the width property.
-
Field Details
-
line
-
width
-
printObject
-
color
-
lineType
-
-
Constructor Details
-
LineDetail
public LineDetail()
-
-
Method Details
-
getLine
Gets the value of the line property.- Returns:
- possible object is
BigInteger
-
setLine
Sets the value of the line property.- Parameters:
value- allowed object isBigInteger
-
getWidth
Gets the value of the width property.- Returns:
- possible object is
BigDecimal
-
setWidth
Sets the value of the width property.- Parameters:
value- allowed object isBigDecimal
-
getPrintObject
Gets the value of the printObject property.- Returns:
- possible object is
YesNo
-
setPrintObject
Sets the value of the printObject property.- Parameters:
value- allowed object isYesNo
-
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
-