public class Notehead extends Object
Java class for notehead complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="notehead">
<simpleContent>
<extension base="<>notehead-value">
<attGroup ref="{}font"/>
<attGroup ref="{}color"/>
<attribute name="filled" type="{}yes-no" />
<attribute name="parentheses" type="{}yes-no" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
color |
protected YesNo |
filled |
protected String |
fontFamily |
protected String |
fontSize |
protected FontStyle |
fontStyle |
protected FontWeight |
fontWeight |
protected YesNo |
parentheses |
protected NoteheadValue |
value |
| Constructor and Description |
|---|
Notehead() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Gets the value of the color property.
|
YesNo |
getFilled()
Gets the value of the filled 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.
|
NoteheadValue |
getValue()
The notehead type indicates shapes other than the open and closed ovals associated with note durations.
|
void |
setColor(String value)
Sets the value of the color property.
|
void |
setFilled(YesNo value)
Sets the value of the filled 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 |
setValue(NoteheadValue value)
Sets the value of the value property.
|
protected NoteheadValue value
protected YesNo filled
protected YesNo parentheses
protected String fontFamily
protected FontStyle fontStyle
protected String fontSize
protected FontWeight fontWeight
protected String color
public NoteheadValue getValue()
NoteheadValuepublic void setValue(NoteheadValue value)
value - allowed object is
NoteheadValuepublic YesNo getFilled()
YesNopublic void setFilled(YesNo value)
value - allowed object is
YesNopublic YesNo getParentheses()
YesNopublic void setParentheses(YesNo value)
value - allowed object is
YesNopublic 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
FontWeightpublic String getColor()
StringCopyright © 2016 Audiveris Ltd. All rights reserved.