org.problets.lib.io.output.text
Class LinedTextDraw

java.lang.Object
  extended by org.problets.lib.io.output.text.LinedTextDraw
Direct Known Subclasses:
ScrollableLinedTextDraw

public class LinedTextDraw
extends java.lang.Object

Draws text on a lined background in the panel provided. This differs from LinedTextView which draws on its own panel.

Author:
Amruth Kumar

Constructor Summary
LinedTextDraw()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 int paintComponent(java.awt.Graphics g, java.util.Vector content, int xStart, int yStart, int codeWidth, java.awt.Font regFont)
          Version to be used when LinedTextDraw is called to add to existing panel.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinedTextDraw

public LinedTextDraw()
Method Detail

paintComponent

public int paintComponent(java.awt.Graphics g,
                          java.util.Vector content,
                          int xStart,
                          int yStart,
                          int codeWidth,
                          java.awt.Font regFont)
Version to be used when LinedTextDraw is called to add to existing panel. Note: (xStart, yStart) are coordinates of the BOTTOM left of the first line.


main

public static void main(java.lang.String[] args)