abc.notation
Class Part

java.lang.Object
  extended byabc.notation.Part

public class Part
extends java.lang.Object

Part objects are used to define parts in tunes.


Method Summary
 char getLabel()
          Returns the label that identifies this part.
 Tune.Score getScore()
          Returns the score associated to this part.
 void setLabel(char labelValue)
          Sets the label that identifies this part.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setLabel

public void setLabel(char labelValue)
Sets the label that identifies this part.

Parameters:
labelValue - The label that identifies this part.

getLabel

public char getLabel()
Returns the label that identifies this part.

Returns:
The label that identifies this part.

getScore

public Tune.Score getScore()
Returns the score associated to this part.

Returns:
The score associated to this part.