Package org.audiveris.proxymusic
Class Direction
java.lang.Object
org.audiveris.proxymusic.Direction
A direction is a musical indication that is not necessarily attached to a specific note. Two or more may be combined to indicate words followed by the start of a dashed line, the end of a wedge followed by dynamics, etc. For applications where a specific direction is indeed attached to a specific note, the direction element can be associated with the first note element that follows it in score order that is not in a different voice.
By default, a series of direction-type elements and a series of child elements of a direction-type within a single direction element follow one another in sequence visually. For a series of direction-type children, non-positional formatting attributes are carried over from the previous element by default.
Java class for direction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="direction">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="direction-type" type="{}direction-type" maxOccurs="unbounded"/>
<element name="offset" type="{}offset" minOccurs="0"/>
<group ref="{}editorial-voice-direction"/>
<group ref="{}staff" minOccurs="0"/>
<element name="sound" type="{}sound" minOccurs="0"/>
<element name="listening" type="{}listening" minOccurs="0"/>
</sequence>
<attGroup ref="{}directive"/>
<attGroup ref="{}optional-unique-id"/>
<attGroup ref="{}placement"/>
<attGroup ref="{}system-relation"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DirectionType>protected YesNoprotected FormattedTextprotected Stringprotected Levelprotected Listeningprotected Offsetprotected AboveBelowprotected Soundprotected BigIntegerprotected SystemRelationprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the directionType property.Gets the value of the directive property.Gets the value of the footnote property.getId()Gets the value of the id property.getLevel()Gets the value of the level property.Gets the value of the listening property.Gets the value of the offset property.Gets the value of the placement property.getSound()Gets the value of the sound property.getStaff()Gets the value of the staff property.Gets the value of the system property.getVoice()Gets the value of the voice property.voidsetDirective(YesNo value) Sets the value of the directive property.voidsetFootnote(FormattedText value) Sets the value of the footnote property.voidSets the value of the id property.voidSets the value of the level property.voidsetListening(Listening value) Sets the value of the listening property.voidSets the value of the offset property.voidsetPlacement(AboveBelow value) Sets the value of the placement property.voidSets the value of the sound property.voidsetStaff(BigInteger value) Sets the value of the staff property.voidsetSystem(SystemRelation value) Sets the value of the system property.voidSets the value of the voice property.
-
Field Details
-
directionType
-
offset
-
footnote
-
level
-
voice
-
staff
-
sound
-
listening
-
directive
-
id
-
placement
-
system
-
-
Constructor Details
-
Direction
public Direction()
-
-
Method Details
-
getDirectionType
Gets the value of the directionType 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 directionType property.For example, to add a new item, do as follows:
getDirectionType().add(newItem);Objects of the following type(s) are allowed in the list
DirectionType -
getOffset
Gets the value of the offset property.- Returns:
- possible object is
Offset
-
setOffset
Sets the value of the offset property.- Parameters:
value- allowed object isOffset
-
getFootnote
Gets the value of the footnote property.- Returns:
- possible object is
FormattedText
-
setFootnote
Sets the value of the footnote property.- Parameters:
value- allowed object isFormattedText
-
getLevel
Gets the value of the level property.- Returns:
- possible object is
Level
-
setLevel
Sets the value of the level property.- Parameters:
value- allowed object isLevel
-
getVoice
Gets the value of the voice property.- Returns:
- possible object is
String
-
setVoice
Sets the value of the voice property.- Parameters:
value- allowed object isString
-
getStaff
Gets the value of the staff property.- Returns:
- possible object is
BigInteger
-
setStaff
Sets the value of the staff property.- Parameters:
value- allowed object isBigInteger
-
getSound
Gets the value of the sound property.- Returns:
- possible object is
Sound
-
setSound
Sets the value of the sound property.- Parameters:
value- allowed object isSound
-
getListening
Gets the value of the listening property.- Returns:
- possible object is
Listening
-
setListening
Sets the value of the listening property.- Parameters:
value- allowed object isListening
-
getDirective
Gets the value of the directive property.- Returns:
- possible object is
YesNo
-
setDirective
Sets the value of the directive property.- Parameters:
value- allowed object isYesNo
-
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
-
getPlacement
Gets the value of the placement property.- Returns:
- possible object is
AboveBelow
-
setPlacement
Sets the value of the placement property.- Parameters:
value- allowed object isAboveBelow
-
getSystem
Gets the value of the system property.- Returns:
- possible object is
SystemRelation
-
setSystem
Sets the value of the system property.- Parameters:
value- allowed object isSystemRelation
-