|
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.WCheckList
Presents a list of options for selection as multiple check boxes. Multiple options may be selected at one time.
| Constructor Summary | |
WCheckList()
Constructs an empty check list. |
|
WCheckList(List options)
Constructs a check list with the specified options. |
|
WCheckList(Object[] options)
Constrcuts a chcek list with the specified options. |
|
| Method Summary | |
Color |
getBackgroundColor()
Returns the background color. |
int |
getBorder()
Returns the border scalar value. |
Color |
getBorderColor()
Returns the border color. |
WBorderStyle |
getBorderStyle()
Returns the border style. |
WLengthUnit |
getBorderUnit()
Returns the border unit type. |
Color |
getColor()
Returns the color. |
WFont |
getFont()
Returns the font. |
protected void |
handleParams(WRunner runner,
String[] values)
|
void |
render(WRunner runner,
WRenderContext context,
PrintWriter out)
Renders the widget to the display. |
void |
setBackgroundColor(Color backgroundColor)
Sets the background color. |
void |
setBorder(int border)
Sets the border scalar value. |
void |
setBorder(int border,
WLengthUnit borderUnit)
Sets the border. |
void |
setBorder(int border,
WLengthUnit borderUnit,
Color borderColor,
WBorderStyle borderStyle)
Sets the border. |
void |
setBorderColor(Color borderColor)
Sets the border color. |
void |
setBorderStyle(WBorderStyle borderStyle)
Sets the border style. |
void |
setBorderUnit(WLengthUnit borderUnit)
Sets the border unit type. |
void |
setColor(Color color)
Sets the color. |
void |
setFont(WFont font)
Sets the font. |
| 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 WCheckList()
public WCheckList(List options)
options - the list of selectable options.public WCheckList(Object[] options)
options - the array of selectable options.| Method Detail |
public Color getBackgroundColor()
public int getBorder()
public Color getBorderColor()
public WBorderStyle getBorderStyle()
public WLengthUnit getBorderUnit()
public Color getColor()
public WFont getFont()
protected void handleParams(WRunner runner,
String[] values)
handleParams in class Widget
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 setBackgroundColor(Color backgroundColor)
backgroundColor - The background color to set.public void setBorder(int border)
border - The border scalar value to set.
public void setBorder(int border,
WLengthUnit borderUnit)
border - the scalar value of the border.borderUnit - the units of the scalar value.
public void setBorder(int border,
WLengthUnit borderUnit,
Color borderColor,
WBorderStyle borderStyle)
border - the scalar value of the border.borderUnit - the units of the scalar value.borderColor - the color of the border.borderStyle - the style of the border.public void setBorderColor(Color borderColor)
borderColor - The border color to set.public void setBorderStyle(WBorderStyle borderStyle)
borderStyle - The border style to set.public void setBorderUnit(WLengthUnit borderUnit)
borderUnit - The border unit type to set.public void setColor(Color color)
color - The color to set.public void setFont(WFont font)
font - The font to set.
|
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 | ||||||||||