|
||||||||||
| 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.SystemLayout
public class SystemLayout
The SystemLayout class implements the MusicXML <system-layout> element.
| Method Summary | |
|---|---|
void |
dispose()
Release resources engaged by this object, thus rendering it amenable to garbage collection. |
boolean |
equals(MusicXmlEntity other)
Test if this MusicXML entity has the same content as another object. |
static SystemLayout |
fromXmlNode(org.w3c.dom.Element element,
MusicXmlEntity container)
Create a new SystemLayout instance and fill it with loaded data. |
static SystemLayout |
getInstance(MusicXmlEntity container)
Create a new SystemLayout instance. |
int |
getSystemDistance()
Getter for the SystemDistance property |
SystemMargins |
getSystemMargins()
Getter for the SystemMargins property |
int |
getTopSystemDistance()
Getter for the TopSystemDistance property |
void |
putXmlData(org.w3c.dom.Element element)
|
void |
setSystemDistance(int systemDistance)
Setter for the SystemDistance property |
void |
setSystemMargins(SystemMargins systemMargins)
Setter for the SystemMargins property |
void |
setTopSystemDistance(int topSystemDistance)
Setter for the TopSystemDistance 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.MusicXmlEntity |
|---|
getContainer, makeDirty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void dispose()
Disposable
dispose in class Disposablepublic static SystemLayout getInstance(MusicXmlEntity container)
container - The MusicXmlEntity which will contain the new SystemLayout instance.
public int getSystemDistance()
public void setSystemDistance(int systemDistance)
systemDistance - The intended SystemDistance value.public int getTopSystemDistance()
public void setTopSystemDistance(int topSystemDistance)
topSystemDistance - The intended TopSystemDistance value.public SystemMargins getSystemMargins()
public void setSystemMargins(SystemMargins systemMargins)
systemMargins - The intended SystemMargins value.
public static SystemLayout fromXmlNode(org.w3c.dom.Element element,
MusicXmlEntity container)
element - The XML element that provides the SystemLayout datacontainer - The MusicXmlEntity which will contain the new SystemLayout 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)
public boolean equals(MusicXmlEntity other)
MusicXmlEntity
equals in class MusicXmlEntityother - The other object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||