Package org.audiveris.proxymusic
Class Fret
java.lang.Object
org.audiveris.proxymusic.Fret
The fret element is used with tablature notation and chord diagrams. Fret numbers start with 0 for an open string and 1 for the first fret.
Java class for fret complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="fret">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>nonNegativeInteger">
<attGroup ref="{}font"/>
<attGroup ref="{}color"/>
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected BigInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color 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.getValue()Gets the value of the value property.voidSets the value of the color 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.voidsetValue(BigInteger value) Sets the value of the value property.
-
Field Details
-
value
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
color
-
-
Constructor Details
-
Fret
public Fret()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
BigInteger
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isBigInteger
-
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
-
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
-