public class PrincipalVoice extends Object
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"/>
<attribute name="type" use="required" type="{}start-stop" />
<attribute name="symbol" use="required" type="{}principal-voice-symbol" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
color |
protected BigDecimal |
defaultX |
protected BigDecimal |
defaultY |
protected String |
fontFamily |
protected String |
fontSize |
protected FontStyle |
fontStyle |
protected FontWeight |
fontWeight |
protected LeftCenterRight |
halign |
protected BigDecimal |
relativeX |
protected BigDecimal |
relativeY |
protected PrincipalVoiceSymbol |
symbol |
protected StartStop |
type |
protected Valign |
valign |
protected String |
value |
| Constructor and Description |
|---|
PrincipalVoice() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Gets the value of the color property.
|
BigDecimal |
getDefaultX()
Gets the value of the defaultX property.
|
BigDecimal |
getDefaultY()
Gets the value of the defaultY property.
|
String |
getFontFamily()
Gets the value of the fontFamily property.
|
String |
getFontSize()
Gets the value of the fontSize property.
|
FontStyle |
getFontStyle()
Gets the value of the fontStyle property.
|
FontWeight |
getFontWeight()
Gets the value of the fontWeight property.
|
LeftCenterRight |
getHalign()
Gets the value of the halign property.
|
BigDecimal |
getRelativeX()
Gets the value of the relativeX property.
|
BigDecimal |
getRelativeY()
Gets the value of the relativeY property.
|
PrincipalVoiceSymbol |
getSymbol()
Gets the value of the symbol property.
|
StartStop |
getType()
Gets the value of the type property.
|
Valign |
getValign()
Gets the value of the valign property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setColor(String value)
Sets the value of the color property.
|
void |
setDefaultX(BigDecimal value)
Sets the value of the defaultX property.
|
void |
setDefaultY(BigDecimal value)
Sets the value of the defaultY property.
|
void |
setFontFamily(String value)
Sets the value of the fontFamily property.
|
void |
setFontSize(String value)
Sets the value of the fontSize property.
|
void |
setFontStyle(FontStyle value)
Sets the value of the fontStyle property.
|
void |
setFontWeight(FontWeight value)
Sets the value of the fontWeight property.
|
void |
setHalign(LeftCenterRight value)
Sets the value of the halign property.
|
void |
setRelativeX(BigDecimal value)
Sets the value of the relativeX property.
|
void |
setRelativeY(BigDecimal value)
Sets the value of the relativeY property.
|
void |
setSymbol(PrincipalVoiceSymbol value)
Sets the value of the symbol property.
|
void |
setType(StartStop value)
Sets the value of the type property.
|
void |
setValign(Valign value)
Sets the value of the valign property.
|
void |
setValue(String value)
Sets the value of the value property.
|
protected String value
protected StartStop type
protected PrincipalVoiceSymbol symbol
protected Valign valign
protected LeftCenterRight halign
protected BigDecimal defaultX
protected BigDecimal defaultY
protected BigDecimal relativeX
protected BigDecimal relativeY
protected String color
protected String fontFamily
protected FontStyle fontStyle
protected String fontSize
protected FontWeight fontWeight
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic StartStop getType()
StartStoppublic void setType(StartStop value)
value - allowed object is
StartStoppublic PrincipalVoiceSymbol getSymbol()
PrincipalVoiceSymbolpublic void setSymbol(PrincipalVoiceSymbol value)
value - allowed object is
PrincipalVoiceSymbolpublic Valign getValign()
Valignpublic void setValign(Valign value)
value - allowed object is
Valignpublic LeftCenterRight getHalign()
LeftCenterRightpublic void setHalign(LeftCenterRight value)
value - allowed object is
LeftCenterRightpublic BigDecimal getDefaultX()
BigDecimalpublic void setDefaultX(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getDefaultY()
BigDecimalpublic void setDefaultY(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelativeX()
BigDecimalpublic void setRelativeX(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getRelativeY()
BigDecimalpublic void setRelativeY(BigDecimal value)
value - allowed object is
BigDecimalpublic String getColor()
Stringpublic void setColor(String value)
value - allowed object is
Stringpublic String getFontFamily()
Stringpublic void setFontFamily(String value)
value - allowed object is
Stringpublic FontStyle getFontStyle()
FontStylepublic void setFontStyle(FontStyle value)
value - allowed object is
FontStylepublic String getFontSize()
Stringpublic void setFontSize(String value)
value - allowed object is
Stringpublic FontWeight getFontWeight()
FontWeightpublic void setFontWeight(FontWeight value)
value - allowed object is
FontWeightCopyright © 2016 Audiveris Ltd. All rights reserved.