KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > joshy > html > box > LineBox


1 package org.joshy.html.box;
2
3 import org.w3c.dom.Node JavaDoc;
4 import java.util.ArrayList JavaDoc;
5 import java.util.List JavaDoc;
6
7 public class LineBox extends Box{
8     //public List inlines = new ArrayList();
9
public int lineheight; // relative to x,y
10
public int baseline; // relative to x,y
11
public String JavaDoc toString() {
12         return "Line: (" + x + ","+y+")x("+width+","+height+")" + " baseline = " + baseline;
13     }
14 }
15
Popular Tags