Package org.audiveris.proxymusic
Class NoteSize
java.lang.Object
org.audiveris.proxymusic.NoteSize
The note-size type indicates the percentage of the regular note size to use for notes with a cue and large size as defined in the type element. The grace type is used for notes of cue size that that include a grace element. The cue type is used for all other notes with cue size, whether defined explicitly or implicitly via a cue element. The large type is used for notes of large size. The text content represent the numeric percentage. A value of 100 would be identical to the size of a regular note as defined by the music font.
Java class for note-size complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="note-size">
<simpleContent>
<extension base="<>non-negative-decimal">
<attribute name="type" use="required" type="{}note-size-type" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()Gets the value of the type property.getValue()The non-negative-decimal type specifies a non-negative decimal value.voidsetType(NoteSizeType value) Sets the value of the type property.voidsetValue(BigDecimal value) Sets the value of the value property.
-
Field Details
-
value
-
type
-
-
Constructor Details
-
NoteSize
public NoteSize()
-
-
Method Details
-
getValue
The non-negative-decimal type specifies a non-negative decimal value.- Returns:
- possible object is
BigDecimal
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isBigDecimal
-
getType
Gets the value of the type property.- Returns:
- possible object is
NoteSizeType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isNoteSizeType
-