|
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.WMultiList
org.westofj.wui.WGrabBox
Presents a list of selectable options as side by side not selected and selected lists. Multiple options may be selected at one time.
Constructor Summary | |
WGrabBox()
Constructs an empty grab box. |
|
WGrabBox(List options)
Constructs a grab box with the specified options. |
|
WGrabBox(Object[] options)
Constructs a grab box with the specified options. |
Method Summary | |
int |
getSelectPixelWidth()
Returns the pixel width of the selection lists. |
int |
getVisibleRowCount()
Returns the height of the selection lists in visible rows. |
protected void |
handleParams(WRunner runner,
String[] values)
|
void |
render(WRunner runner,
WRenderContext context,
PrintWriter out)
Renders the widget to the display. |
void |
setSelectPixelWidth(int selectPixelWidth)
Sets the pixel width of the selection lists. |
void |
setVisibleRowCount(int visibleRowCount)
Sets the height of the selection list in visible rows. |
Methods inherited from class org.westofj.wui.WMultiList |
addSelectedIndex, clearSelection, getOptions, getSelectedIndices, getSelectedValues, isSelectedIndex, removeSelectedIndex, selectAll, setOptions, setOptions, setSelectedIndices, setSelectedIndices, setSelectedValues, setSelectedValues |
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 WGrabBox()
public WGrabBox(List options)
options
- the list of selectable options.public WGrabBox(Object[] options)
options
- the array of selectable options.Method Detail |
public int getSelectPixelWidth()
public int getVisibleRowCount()
public void render(WRunner runner, WRenderContext context, PrintWriter out) throws WRenderException
Widget
render
in class Widget
runner
- the current runner context.out
- the output for the display.
WRenderException
public void setSelectPixelWidth(int selectPixelWidth)
selectPixelWidth
- the pixel width of the selection lists.public void setVisibleRowCount(int visibleRowCount)
visibleRowCount
- the height of the selection list in visible rows.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 |