|
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
Implements base functionality of text input widgets.
| Constructor Summary | |
WTextWidget()
Constructs a text widget. |
|
WTextWidget(String text)
Constructs a text widget that initially contains the specified text. |
|
| Method Summary | |
Color |
getColor()
Returns the color. |
WFont |
getFont()
Returns the font. |
String |
getText()
Returns the text value of the widget. |
protected void |
handleParams(WRunner runner,
String[] values)
|
void |
setColor(Color color)
Sets the color. |
void |
setFont(WFont font)
Sets the font. |
void |
setText(String text)
Sets the text value of the widget. |
| Methods inherited from class org.westofj.wui.Widget |
addChangeListener, getRunner, handleNoParams, hasChangeListeners, removeChangeListener, render, stateChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WTextWidget()
public WTextWidget(String text)
text - the initial text of the widget.| Method Detail |
public Color getColor()
public WFont getFont()
public String getText()
protected void handleParams(WRunner runner,
String[] values)
handleParams in class Widgetpublic void setColor(Color color)
color - The color to set.public void setFont(WFont font)
font - The font to set.public void setText(String text)
text - the text value of the 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 | ||||||||||