public class Accidental extends Object
Java class for accidental complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="accidental">
<simpleContent>
<extension base="<>accidental-value">
<attGroup ref="{}level-display"/>
<attGroup ref="{}print-style"/>
<attribute name="cautionary" type="{}yes-no" />
<attribute name="editorial" type="{}yes-no" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected YesNo |
bracket |
protected YesNo |
cautionary |
protected String |
color |
protected BigDecimal |
defaultX |
protected BigDecimal |
defaultY |
protected YesNo |
editorial |
protected String |
fontFamily |
protected String |
fontSize |
protected FontStyle |
fontStyle |
protected FontWeight |
fontWeight |
protected YesNo |
parentheses |
protected BigDecimal |
relativeX |
protected BigDecimal |
relativeY |
protected SymbolSize |
size |
protected AccidentalValue |
value |
| Constructor and Description |
|---|
Accidental() |
| Modifier and Type | Method and Description |
|---|---|
YesNo |
getBracket()
Gets the value of the bracket property.
|
YesNo |
getCautionary()
Gets the value of the cautionary property.
|
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.
|
YesNo |
getEditorial()
Gets the value of the editorial 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.
|
YesNo |
getParentheses()
Gets the value of the parentheses property.
|
BigDecimal |
getRelativeX()
Gets the value of the relativeX property.
|
BigDecimal |
getRelativeY()
Gets the value of the relativeY property.
|
SymbolSize |
getSize()
Gets the value of the size property.
|
AccidentalValue |
getValue()
The accidental-value type represents notated accidentals supported by MusicXML.
|
void |
setBracket(YesNo value)
Sets the value of the bracket property.
|
void |
setCautionary(YesNo value)
Sets the value of the cautionary 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 |
setEditorial(YesNo value)
Sets the value of the editorial 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 |
setParentheses(YesNo value)
Sets the value of the parentheses property.
|
void |
setRelativeX(BigDecimal value)
Sets the value of the relativeX property.
|
void |
setRelativeY(BigDecimal value)
Sets the value of the relativeY property.
|
void |
setSize(SymbolSize value)
Sets the value of the size property.
|
void |
setValue(AccidentalValue value)
Sets the value of the value property.
|
protected AccidentalValue value
protected YesNo cautionary
protected YesNo editorial
protected YesNo parentheses
protected YesNo bracket
protected SymbolSize size
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 AccidentalValue getValue()
AccidentalValuepublic void setValue(AccidentalValue value)
value - allowed object is
AccidentalValuepublic YesNo getCautionary()
YesNopublic void setCautionary(YesNo value)
value - allowed object is
YesNopublic YesNo getEditorial()
YesNopublic void setEditorial(YesNo value)
value - allowed object is
YesNopublic YesNo getParentheses()
YesNopublic void setParentheses(YesNo value)
value - allowed object is
YesNopublic YesNo getBracket()
YesNopublic void setBracket(YesNo value)
value - allowed object is
YesNopublic SymbolSize getSize()
SymbolSizepublic void setSize(SymbolSize value)
value - allowed object is
SymbolSizepublic 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.