Package org.audiveris.proxymusic
Class PrincipalVoice
java.lang.Object
org.audiveris.proxymusic.PrincipalVoice
The principal-voice type represents principal and secondary voices in a score, either for analysis or for square bracket symbols that appear in a score. The element content is used for analysis and may be any text value. The symbol attribute indicates the type of symbol used. When used for analysis separate from any printed score markings, it should be set to none. Otherwise if the type is stop it should be set to plain.
Java class for principal-voice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="principal-voice">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attGroup ref="{}print-style-align"/>
<attGroup ref="{}optional-unique-id"/>
<attribute name="type" use="required" type="{}start-stop" />
<attribute name="symbol" use="required" type="{}principal-voice-symbol" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected LeftCenterRightprotected Stringprotected BigDecimalprotected BigDecimalprotected PrincipalVoiceSymbolprotected StartStopprotected Valignprotected String -
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 fontFamily property.Gets the value of the fontSize property.Gets the value of the fontStyle property.Gets the value of the fontWeight property.Gets the value of the halign 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 symbol property.getType()Gets the value of the type property.Gets the value of the valign property.getValue()Gets the value of the value 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.voidsetFontFamily(String value) Sets the value of the fontFamily property.voidsetFontSize(String value) Sets the value of the fontSize property.voidsetFontStyle(FontStyle value) Sets the value of the fontStyle property.voidsetFontWeight(FontWeight value) Sets the value of the fontWeight property.voidsetHalign(LeftCenterRight value) Sets the value of the halign 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.voidsetSymbol(PrincipalVoiceSymbol value) Sets the value of the symbol property.voidSets the value of the type property.voidSets the value of the valign property.voidSets the value of the value property.
-
Field Details
-
value
-
type
-
symbol
-
valign
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
halign
-
id
-
-
Constructor Details
-
PrincipalVoice
public PrincipalVoice()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
StartStop
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isStartStop
-
getSymbol
Gets the value of the symbol property.- Returns:
- possible object is
PrincipalVoiceSymbol
-
setSymbol
Sets the value of the symbol property.- Parameters:
value- allowed object isPrincipalVoiceSymbol
-
getValign
Gets the value of the valign property.- Returns:
- possible object is
Valign
-
setValign
Sets the value of the valign property.- Parameters:
value- allowed object isValign
-
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
-
getFontFamily
Gets the value of the fontFamily property.- Returns:
- possible object is
String
-
setFontFamily
Sets the value of the fontFamily property.- Parameters:
value- allowed object isString
-
getFontStyle
Gets the value of the fontStyle property.- Returns:
- possible object is
FontStyle
-
setFontStyle
Sets the value of the fontStyle property.- Parameters:
value- allowed object isFontStyle
-
getFontSize
Gets the value of the fontSize property.- Returns:
- possible object is
String
-
setFontSize
Sets the value of the fontSize property.- Parameters:
value- allowed object isString
-
getFontWeight
Gets the value of the fontWeight property.- Returns:
- possible object is
FontWeight
-
setFontWeight
Sets the value of the fontWeight property.- Parameters:
value- allowed object isFontWeight
-
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
-
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
-
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
-