edu.columbia.ee.csmit.MidiKaraoke.read
Class LyricsInMidi.Line

java.lang.Object
  extended by edu.columbia.ee.csmit.MidiKaraoke.read.LyricsInMidi.Line
Enclosing class:
LyricsInMidi

public class LyricsInMidi.Line
extends java.lang.Object

Stores a line of lyrics.


Constructor Summary
LyricsInMidi.Line(java.lang.String line, double seconds, long ticks)
          Constructor
 
Method Summary
 java.lang.String getLine()
          The line of lyrics.
 double getSeconds()
          The time in seconds of the start of the line of lyrics.
 long getTicks()
          The time of the start of line of lyrics in ticks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LyricsInMidi.Line

public LyricsInMidi.Line(java.lang.String line,
                         double seconds,
                         long ticks)
Constructor

Parameters:
line - - line of lyrics
seconds - - time of start of the line of lyrics in seconds
ticks - - time of the start of the line of lyrics in ticks
Method Detail

getLine

public java.lang.String getLine()
The line of lyrics.

Returns:
the line

getSeconds

public double getSeconds()
The time in seconds of the start of the line of lyrics.

Returns:
time in seconds

getTicks

public long getTicks()
The time of the start of line of lyrics in ticks.

Returns:
time in ticks