org.mortbay.html
Class DefList

java.lang.Object
  |
  +--org.mortbay.html.Element
        |
        +--org.mortbay.html.DefList

public class DefList
extends Element


Field Summary
 
Fields inherited from class org.mortbay.html.Element
ALIGN, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH
 
Constructor Summary
DefList()
           
 
Method Summary
 void add(Element term, Element def)
           
 void write(java.io.Writer out)
          Write element to a Writer.
 
Methods inherited from class org.mortbay.html.Element
attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, size, style, top, toString, width, width, width, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefList

public DefList()
Method Detail

add

public void add(Element term,
                Element def)

write

public void write(java.io.Writer out)
           throws java.io.IOException
Description copied from class: Element
Write element to a Writer. This abstract method is called by the Page or other containing Element to write the HTML for this element. This must be implemented by the derived Element classes.

Specified by:
write in class Element
Parameters:
out - Writer to write the element to.
java.io.IOException


Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.