Package org.audiveris.proxymusic
Class FirstFret
java.lang.Object
org.audiveris.proxymusic.FirstFret
The first-fret type indicates which fret is shown in the top space of the frame; it is fret 1 if the element is not present. The optional text attribute indicates how this is represented in the fret diagram, while the location attribute indicates whether the text appears to the left or right of the frame.
Java class for first-fret complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="first-fret">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
<attribute name="text" type="{http://www.w3.org/2001/XMLSchema}token" />
<attribute name="location" type="{}left-right" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the location property.getText()Gets the value of the text property.getValue()Gets the value of the value property.voidsetLocation(LeftRight value) Sets the value of the location property.voidSets the value of the text property.voidsetValue(BigInteger value) Sets the value of the value property.
-
Field Details
-
value
-
text
-
location
-
-
Constructor Details
-
FirstFret
public FirstFret()
-
-
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
-
getText
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
Sets the value of the text property.- Parameters:
value- allowed object isString
-
getLocation
Gets the value of the location property.- Returns:
- possible object is
LeftRight
-
setLocation
Sets the value of the location property.- Parameters:
value- allowed object isLeftRight
-