abc4j API Specification

abc.notation
Class Part

java.lang.Object
  extended by abc.notation.Part
All Implemented Interfaces:
java.lang.Cloneable

public class Part
extends java.lang.Object
implements java.lang.Cloneable

Part objects are used to define parts in tunes.


Method Summary
 java.lang.Object clone()
           
 char getLabel()
          Returns the label that identifies this part.
 Tune.Music getMusic()
          Returns the music 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.

getMusic

public Tune.Music getMusic()
Returns the music to this part.

Returns:
The music associated to this part.

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

abc4j API Specification

Submit a bug or feature