|
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.WSpacer
Adds space to the display.
| Constructor Summary | |
WSpacer()
Constructs a spacer widget. |
|
WSpacer(int width,
int height)
Constructs a spacer widget with the specified width and height. |
|
| Method Summary | |
int |
getHeight()
Returns the height of the spacer. |
int |
getWidth()
Returns the width of the spacer. |
void |
render(WRunner runner,
WRenderContext context,
PrintWriter out)
Renders the widget to the display. |
void |
setHeight(int height)
Sets the height of the spacer. |
void |
setWidth(int width)
Sets the width of the spacer. |
| Methods inherited from class org.westofj.wui.Widget |
addChangeListener, getRunner, handleNoParams, handleParams, hasChangeListeners, removeChangeListener, stateChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WSpacer()
public WSpacer(int width,
int height)
width - the width of the spacer.height - the height of the spacer.| Method Detail |
public int getHeight()
public int getWidth()
public void render(WRunner runner,
WRenderContext context,
PrintWriter out)
throws WRenderException
Widget
render in class Widgetrunner - the current runner context.out - the output for the display.
WRenderExceptionpublic void setHeight(int height)
height - the height of the spacer.public void setWidth(int width)
width - the width of the spacer.
|
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 | ||||||||||