Package org.audiveris.proxymusic
Class Cancel
java.lang.Object
org.audiveris.proxymusic.Cancel
A cancel element indicates that the old key signature should be cancelled before the new one appears. This will always happen when changing to C major or A minor and need not be specified then. The cancel value matches the fifths value of the cancelled key signature (e.g., a cancel of -2 will provide an explicit cancellation for changing from B flat major to F major). The optional location attribute indicates where the cancellation appears relative to the new key signature.
Java class for cancel complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cancel">
<simpleContent>
<extension base="<>fifths">
<attribute name="location" type="{}cancel-location" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the location property.getValue()The fifths type represents the number of flats or sharps in a traditional key signature.voidsetLocation(CancelLocation value) Sets the value of the location property.voidsetValue(BigInteger value) Sets the value of the value property.
-
Field Details
-
value
-
location
-
-
Constructor Details
-
Cancel
public Cancel()
-
-
Method Details
-
getValue
The fifths type represents the number of flats or sharps in a traditional key signature. Negative numbers are used for flats and positive numbers for sharps, reflecting the key's placement within the circle of fifths (hence the type name).- Returns:
- possible object is
BigInteger
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isBigInteger
-
getLocation
Gets the value of the location property.- Returns:
- possible object is
CancelLocation
-
setLocation
Sets the value of the location property.- Parameters:
value- allowed object isCancelLocation
-