|
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.WMenuBar
Renders a menu as a horizontal bar.
| Constructor Summary | |
WMenuBar()
Constructs a menu bar widget. |
|
WMenuBar(WMenu menu)
Constructs a menu bar widget to display the specified menu. |
|
| Method Summary | |
WMenu |
getMenu()
Returns the menu displayed by the menu bar widget. |
protected void |
handleParams(WRunner runner,
String[] values)
|
void |
render(WRunner runner,
WRenderContext context,
PrintWriter out)
Renders the widget to the display. |
void |
setMenu(WMenu menu)
Sets the menu displayed by the menu bar. |
| 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 WMenuBar()
public WMenuBar(WMenu menu)
menu - the menu to display.| Method Detail |
public WMenu getMenu()
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 setMenu(WMenu menu)
menu - the menu displayed by the menu bar.
protected void handleParams(WRunner runner,
String[] values)
handleParams in class 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 | ||||||||||