org.mortbay.html

Class Text


public class Text
extends Composite

A simple block of straight text.

Field Summary

Fields inherited from class org.mortbay.html.Composite

elements, nest

Fields inherited from class org.mortbay.html.Element

ALIGN, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH, attributeMap, noAttributes

Constructor Summary

Text()
Text(String s)
Text(String[] s)

Method Summary

Text
add(String[] s)
Text
add(Vector v)

Methods inherited from class org.mortbay.html.Composite

add, contents, nest, replace, reset, setNest, size, unnest, write

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, toString, top, width, width, width, write, write, write

Constructor Details

Text

public Text()

Text

public Text(String s)

Text

public Text(String[] s)

Method Details

add

public Text add(String[] s)

add

public Text add(Vector v)

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.