|
WUI : API |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.westofj.wui.Widget
org.westofj.wui.WTextWidget
org.westofj.wui.WTextArea
A multi-row text input widget.
Constructor Summary | |
WTextArea()
Constructs a text area input widget. |
|
WTextArea(String text)
Constructs a text area input widget that initially contains the specified text. |
Method Summary | |
int |
getColumns()
Returns the horizontal width of the text area input widget. |
int |
getRows()
Returns the vertical height of the text area input widget. |
void |
render(WRunner runner,
WRenderContext context,
PrintWriter out)
Renders the widget to the display. |
void |
setColumns(int columns)
Sets the horizontal width of the text area input widget. |
void |
setRows(int rows)
Sets the horizontal width of the text area input widget. |
Methods inherited from class org.westofj.wui.WTextWidget |
getColor, getFont, getText, handleParams, setColor, setFont, setText |
Methods inherited from class org.westofj.wui.Widget |
addChangeListener, getRunner, handleNoParams, hasChangeListeners, removeChangeListener, stateChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WTextArea()
public WTextArea(String text)
text
- the initial text of the widget.Method Detail |
public int getColumns()
public int getRows()
public void render(WRunner runner, WRenderContext context, PrintWriter out)
Widget
render
in class Widget
runner
- the current runner context.out
- the output for the display.public void setColumns(int columns)
columns
- the horizontal width of the text area input widget.public void setRows(int rows)
rows
- the horizontal width of the text area input widget.
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |