Package org.audiveris.proxymusic
Class Frame
java.lang.Object
org.audiveris.proxymusic.Frame
The frame type represents a frame or fretboard diagram used together with a chord symbol. The representation is based on the NIFF guitar grid with additional information. The frame type's unplayed attribute indicates what to display above a string that has no associated frame-note element. Typical values are x and the empty string. If the attribute is not present, the display of the unplayed string is application-defined.
Java class for frame complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="frame">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="frame-strings" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
<element name="frame-frets" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
<element name="first-fret" type="{}first-fret" minOccurs="0"/>
<element name="frame-note" type="{}frame-note" maxOccurs="unbounded"/>
</sequence>
<attGroup ref="{}position"/>
<attGroup ref="{}color"/>
<attGroup ref="{}valign-image"/>
<attGroup ref="{}optional-unique-id"/>
<attGroup ref="{}halign"/>
<attribute name="height" type="{}tenths" />
<attribute name="width" type="{}tenths" />
<attribute name="unplayed" type="{http://www.w3.org/2001/XMLSchema}token" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected FirstFretprotected BigIntegerprotected BigIntegerprotected LeftCenterRightprotected BigDecimalprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected ValignImageprotected BigDecimal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color property.Gets the value of the defaultX property.Gets the value of the defaultY property.Gets the value of the firstFret property.Gets the value of the frameFrets property.Gets the value of the frameNote property.Gets the value of the frameStrings property.Gets the value of the halign property.Gets the value of the height property.getId()Gets the value of the id property.Gets the value of the relativeX property.Gets the value of the relativeY property.Gets the value of the unplayed property.Gets the value of the valign property.getWidth()Gets the value of the width property.voidSets the value of the color property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetFirstFret(FirstFret value) Sets the value of the firstFret property.voidsetFrameFrets(BigInteger value) Sets the value of the frameFrets property.voidsetFrameStrings(BigInteger value) Sets the value of the frameStrings property.voidsetHalign(LeftCenterRight value) Sets the value of the halign property.voidsetHeight(BigDecimal value) Sets the value of the height property.voidSets the value of the id property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidsetUnplayed(String value) Sets the value of the unplayed property.voidsetValign(ValignImage value) Sets the value of the valign property.voidsetWidth(BigDecimal value) Sets the value of the width property.
-
Field Details
-
frameStrings
-
frameFrets
-
firstFret
-
frameNote
-
height
-
width
-
unplayed
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
color
-
valign
-
id
-
halign
-
-
Constructor Details
-
Frame
public Frame()
-
-
Method Details
-
getFrameStrings
Gets the value of the frameStrings property.- Returns:
- possible object is
BigInteger
-
setFrameStrings
Sets the value of the frameStrings property.- Parameters:
value- allowed object isBigInteger
-
getFrameFrets
Gets the value of the frameFrets property.- Returns:
- possible object is
BigInteger
-
setFrameFrets
Sets the value of the frameFrets property.- Parameters:
value- allowed object isBigInteger
-
getFirstFret
Gets the value of the firstFret property.- Returns:
- possible object is
FirstFret
-
setFirstFret
Sets the value of the firstFret property.- Parameters:
value- allowed object isFirstFret
-
getFrameNote
Gets the value of the frameNote property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the frameNote property.For example, to add a new item, do as follows:
getFrameNote().add(newItem);Objects of the following type(s) are allowed in the list
FrameNote -
getHeight
Gets the value of the height property.- Returns:
- possible object is
BigDecimal
-
setHeight
Sets the value of the height property.- Parameters:
value- allowed object isBigDecimal
-
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
-
getUnplayed
Gets the value of the unplayed property.- Returns:
- possible object is
String
-
setUnplayed
Sets the value of the unplayed 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
-
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
-
getValign
Gets the value of the valign property.- Returns:
- possible object is
ValignImage
-
setValign
Sets the value of the valign property.- Parameters:
value- allowed object isValignImage
-
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
-
getHalign
Gets the value of the halign property.- Returns:
- possible object is
LeftCenterRight
-
setHalign
Sets the value of the halign property.- Parameters:
value- allowed object isLeftCenterRight
-