|
||||||||||
| 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.utility.entity.Entity
net.charlesames.utility.entity.WriteableEntity
net.charlesames.music.score.ScoreEntity
net.charlesames.music.score.ScoreEvent
net.charlesames.music.score.SegmentEnd
public class SegmentEnd
The SegmentEnd subclass of ScoreEvent marks the end of a contour segment within a particular voice of the score.
The parent of a SegmentEnd is a ScoreSegment.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.charlesames.music.score.ScoreEvent |
|---|
ScoreEvent.Alignment |
| Method Summary | |
|---|---|
ScoreEvent |
copy(Score targetScore,
Ratio offset,
net.charlesames.music.score.MergeMap mergeMap)
Copy this ScoreEvent to the target score. |
static XmlSpec |
createXmlSpec()
Create an XML specification for the SegmentEnd class. |
void |
dumpSpecific()
Print out event details to System.out. |
boolean |
equals(ScoreEntity other)
Check if this entity has the same class and content as another entity. |
static SegmentEnd |
fromXmlNode(org.w3c.dom.Element element,
Score score)
Create a new SegmentEnd event and fill in its data from an XML element. |
ScoreEvent.Alignment |
getAlignment()
Get the Alignment. |
int |
getPriority()
Get the Priority. |
ScoreSegment |
getSegment()
Get the segment reference. |
void |
wipe()
Release resources engaged by this entity. |
void |
writeMusicXml(MeasureInPart measureInPart)
Convert this event into a MusicXML element. |
| Methods inherited from class net.charlesames.music.score.ScoreEvent |
|---|
checkTime, createXmlSpec, dump, equals, getContainer, getOnset, getPeriod, getProcessID, getRelease, getText, getVoice, setProcessID |
| Methods inherited from class net.charlesames.music.score.ScoreEntity |
|---|
copyToClipboard, createXmlSpec, getScore, toString |
| Methods inherited from class net.charlesames.utility.entity.WriteableEntity |
|---|
check, clearXmlSpecs, createXmlSpec, getTagName, getXmlData, getXmlSpec, getXmlSpec, initializeXsd, isPersistent, logError, logError, makeDirty, putXmlData, save, setID, setName, setPersistent, setStatus, toXmlNode |
| Methods inherited from class net.charlesames.utility.entity.Entity |
|---|
decrementReferenceCount, dereferenceHandle, dispose, equals, getHandle, getID, getName, getPath, getReferenceCount, getStatus, hasContainer, incrementReferenceCount, isModifiable, methodHasOverride, predecessor, resequenceEntities, setContainer, setModifiable, shiftEntitiesDown, shiftEntityDown, shiftEntityUp, successor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public ScoreSegment getSegment()
public int getPriority()
ScoreEvent
getPriority in class ScoreEventpublic ScoreEvent.Alignment getAlignment()
ScoreEvent
getAlignment in class ScoreEventpublic void writeMusicXml(MeasureInPart measureInPart)
ScoreEvent
writeMusicXml in class ScoreEventmeasureInPart - The MusicXml container for the new element.
public ScoreEvent copy(Score targetScore,
Ratio offset,
net.charlesames.music.score.MergeMap mergeMap)
ScoreEventScoreEvent to the target score.
copy in class ScoreEventScoreEvent newly created in the target score.public void wipe()
ScoreEvent
wipe in class ScoreEvent
public static SegmentEnd fromXmlNode(org.w3c.dom.Element element,
Score score)
SegmentEnd event and fill in its data from an XML element.
element - An XML element describing a contour segment-end event.score - The Score which will contain the contour segment-end event.
SegmentEnd instance.public static XmlSpec createXmlSpec()
SegmentEnd class.
XmlSpec instance.
java.lang.RuntimeException - when an XmlSpec instance already exists for the SegmentEnd class.public void dumpSpecific()
ScoreEventSystem.out.
The calling method is responsible for line termination.
dumpSpecific in class ScoreEventpublic boolean equals(ScoreEntity other)
ScoreEntity
equals in class ScoreEntityother - The other entity.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||