jokey
Class AwtLyricListener

java.lang.Object
  |
  +--jokey.LyricListener
        |
        +--jokey.AwtLyricListener
All Implemented Interfaces:
java.util.EventListener, javax.sound.midi.MetaEventListener
Direct Known Subclasses:
PagingLyricListener, PrePageLyricListener

public class AwtLyricListener
extends LyricListener


Field Summary
 
Fields inherited from class jokey.LyricListener
CLEAR_SCREEN, COPYRIGHT_NOTICE, KARAOKE, LANGUAGE, LYRIC, META_INFO, NEW_LINE, SONG_INFO, TITLE, TRACK_NAME, VERSION
 
Constructor Summary
AwtLyricListener(jokey.PlayerContext context, java.awt.Canvas canvas)
           
 
Method Summary
 void clearScreen()
           
 java.awt.Canvas getCanvas()
           
 jokey.PlayerContext getContext()
           
 java.lang.StringBuffer getCurrentString()
           
 int getCurrentX()
           
 int getCurrentY()
           
 java.awt.FontMetrics getFontMetrics()
           
 java.awt.Graphics getGraphics()
           
 void newLine()
           
 void outputLyric(java.lang.String lyric)
           
 void setContext(jokey.PlayerContext context)
           
 void setCurrentString(java.lang.String str)
           
 void setCurrentX(int currX)
           
 void setCurrentY(int currY)
           
 
Methods inherited from class jokey.LyricListener
meta, outputKaraokeMess, outputLanguage, outputTitle, outputVersion, songInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwtLyricListener

public AwtLyricListener(jokey.PlayerContext context,
                        java.awt.Canvas canvas)
Method Detail

getContext

public jokey.PlayerContext getContext()

setContext

public void setContext(jokey.PlayerContext context)

getCanvas

public java.awt.Canvas getCanvas()

getCurrentString

public java.lang.StringBuffer getCurrentString()

setCurrentString

public void setCurrentString(java.lang.String str)

getGraphics

public java.awt.Graphics getGraphics()

getFontMetrics

public java.awt.FontMetrics getFontMetrics()

getCurrentX

public int getCurrentX()

setCurrentX

public void setCurrentX(int currX)

getCurrentY

public int getCurrentY()

setCurrentY

public void setCurrentY(int currY)

clearScreen

public void clearScreen()
Specified by:
clearScreen in class LyricListener

newLine

public void newLine()
Specified by:
newLine in class LyricListener

outputLyric

public void outputLyric(java.lang.String lyric)
Specified by:
outputLyric in class LyricListener