/**
 * A lyric in a song
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public class Lyric extends AbstractLineElement
{
    
    /**
     * Explicit Value Constructor
     *
     * @param text   The text/word
     * @param beats  The number of beats (whole=1, half=2, quarter=4)
     * @param dotted Dotted or not
     */
    public Lyric(String text, int beats, boolean dotted)
    {
       setValue(text);
       setDuration(beats, dotted);       
    }
    

}
