org.mortbay.html

Class TextArea


public class TextArea
extends Block

A Text Area within a form.

The text in the textarea is handled by the super class, Text

See Also:
Text

Field Summary

Fields inherited from class org.mortbay.html.Block

Bold, Center, Div, Italic, Left, Listing, Plain, Pre, Quote, Right, Span, Xmp

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

TextArea(String name)
TextArea(String name, String s)

Method Summary

TextArea
setSize(int cols, int lines)

Methods inherited from class org.mortbay.html.Block

write

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

TextArea

public TextArea(String name)
Parameters:
name - The name of the TextArea within the form

TextArea

public TextArea(String name,
                String s)
Parameters:
name - The name of the TextArea within the form
s - The string in the text area

Method Details

setSize

public TextArea setSize(int cols,
                        int lines)

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