|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.common.Disposable
net.charlesames.music.musicxml.MusicXmlEntity
net.charlesames.music.musicxml.DirectionType
net.charlesames.music.musicxml.Notehead
public class Notehead
The Identification class implements the MusicXML <metronome> direction type.
| Method Summary | |
|---|---|
boolean |
equals(MusicXmlEntity other)
Test if this MusicXML entity has the same content as another object. |
static Notehead |
fromXmlNode(org.w3c.dom.Element element,
Direction container)
Create a new Notehead instance and fill it with loaded data. |
YesNo |
getFilled()
Getter for the Filled property. |
static Notehead |
getInstance(Direction container)
Create a new Notehead instance. |
NoteheadShape |
getShape()
Getter for the Shape property. |
void |
putXmlData(org.w3c.dom.Element element)
|
void |
setFilled(YesNo parentheses)
Setter for the Filled property. |
void |
setShape(NoteheadShape shape)
Setter for the Shape property. |
org.w3c.dom.Node |
toXmlNode(org.w3c.dom.Node parent)
Serialize the content of a MusicXML entity into an XML element. |
| Methods inherited from class net.charlesames.music.musicxml.DirectionType |
|---|
dispose, getContent, getDefaultY, getFontFamily, getFontSize, getFontStyle, getFontWeight, getRelativeX, setContent, setDefaultY, setFontFamily, setFontSize, setFontStyle, setFontWeight, setRelativeX |
| Methods inherited from class net.charlesames.music.musicxml.MusicXmlEntity |
|---|
getContainer, makeDirty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Notehead getInstance(Direction container)
Notehead instance.
container - The ScoreNote which will contain the new Notehead instance.
Notehead instance.public YesNo getFilled()
Filled property.
Filled value.public void setFilled(YesNo parentheses)
Filled property.
parentheses - The intended Filled value.public NoteheadShape getShape()
Shape property.
Shape value.public void setShape(NoteheadShape shape)
Shape property.
shape - The intended Shape value.
public static Notehead fromXmlNode(org.w3c.dom.Element element,
Direction container)
element - The XML element that provides the Notehead datacontainer - The Direction which will contain the new Notehead instance.
public org.w3c.dom.Node toXmlNode(org.w3c.dom.Node parent)
MusicXmlEntity
toXmlNode in class MusicXmlEntityparent - The XML element which is to receive the data.
public void putXmlData(org.w3c.dom.Element element)
putXmlData in class DirectionTypepublic boolean equals(MusicXmlEntity other)
MusicXmlEntity
equals in class DirectionTypeother - The other object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||