|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.webapps.form
Class CheckboxForm

java.lang.Objectorg.apache.struts.action.ActionForm
com.RuntimeCollective.webapps.form.CheckboxForm
- All Implemented Interfaces:
- java.io.Serializable
- public class CheckboxForm
- extends org.apache.struts.action.ActionForm
A general purpose form for choosing a bean using an html checkbox.
- Version:
- $Id: CheckboxForm.java,v 1.5 2003/09/30 15:13:13 joe Exp $
| Field Summary | |
protected boolean |
check
Whether this item was checked. |
protected int |
id
The id of the bean selected. |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
CheckboxForm()
|
|
| Method Summary | |
boolean |
getChecked()
Get whether this item was checked. |
int |
getId()
Get the id of the bean selected. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to default values. |
void |
setChecked(boolean check)
Set whether this item was checked. |
void |
setId(int id)
Set the id of the bean selected. |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
id
protected int id
- The id of the bean selected. Defaults to -1.
check
protected boolean check
- Whether this item was checked. Defaults to 'false'.
| Constructor Detail |
CheckboxForm
public CheckboxForm()
| Method Detail |
getId
public int getId()
- Get the id of the bean selected.
setId
public void setId(int id)
- Set the id of the bean selected.
getChecked
public boolean getChecked()
- Get whether this item was checked. Defaults to 'false'.
setChecked
public void setChecked(boolean check)
- Set whether this item was checked. Defaults to 'false'.
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Reset all properties to default values.
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC