abc4j API Specification

abc.notation
Class TwoNotesLink

java.lang.Object
  extended by abc.notation.TwoNotesLink
Direct Known Subclasses:
SlurDefinition, TieDefinition

public class TwoNotesLink
extends java.lang.Object

This class abstracts any kind of relationship between two notes.


Method Summary
 NoteAbstract getEnd()
          Returns the end of the two notes link.
 NoteAbstract getStart()
          Returns the start of the two notes link.
 void setEnd(NoteAbstract end)
          Sets the end of the two notes link.
 void setStart(NoteAbstract start)
          Sets the start of the two notes link.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEnd

public NoteAbstract getEnd()
Returns the end of the two notes link.

Returns:
Returns the end of the two notes link. null if not specified.
See Also:
getStart()

setEnd

public void setEnd(NoteAbstract end)
Sets the end of the two notes link.

Parameters:
end - The note ending the relation between the two notes.
See Also:
getEnd(), setStart(NoteAbstract)

getStart

public NoteAbstract getStart()
Returns the start of the two notes link.

Returns:
Returns the start of the two notes link. null if not specified.
See Also:
getEnd()

setStart

public void setStart(NoteAbstract start)
Sets the start of the two notes link.

Parameters:
start - The note starting the relation between the two notes.
See Also:
getStart(), setEnd(NoteAbstract)

abc4j API Specification

Submit a bug or feature