|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MusicVertex | +--SimpleVertex
A SimpleVertex is how a note is represented in a MusicGraph
. The Most important information on the note is saved
in a NoteInfo
object.
Field Summary | |
NoteInfo |
info
Musical information on the note represented by this SimpleVertex. |
Fields inherited from class MusicVertex |
inEdges, lowerRightPosition, maxDistanceFromEnd, maxDistanceFromStart, minDistanceFromEnd, minDistanceFromStart, objectTimeStamp, outEdges, starttime, upperLeftPosition, useCounter |
Constructor Summary | |
SimpleVertex(NoteInfo ni,
long stamp)
|
Method Summary | |
MusicVertex |
deepClone()
A deep clone of a SimpleVertex clones its NoteInfo
object and gives the new clone another time stamp. |
double |
getLength()
The length of a SimpleVertex is the length of its note. |
SimpleVertex |
resolveAnchor(java.util.Vector anchor)
Anchor resolution on this SimpleVertex always returns this SimpleVertex. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public NoteInfo info
Constructor Detail |
public SimpleVertex(NoteInfo ni, long stamp)
Method Detail |
public double getLength()
getLength
in class MusicVertex
public java.lang.String toString()
toString
in class java.lang.Object
public SimpleVertex resolveAnchor(java.util.Vector anchor)
resolveAnchor
in class MusicVertex
public MusicVertex deepClone()
NoteInfo
object and gives the new clone another time stamp.
deepClone
in class MusicVertex
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |