public class CheckBoxMultiplePropertySelectionRenderer extends java.lang.Object implements IMultiplePropertySelectionRenderer
IMultiplePropertySelectionRenderer
that
produces a table of checkbox (<input type=checkbox>) elements.Constructor and Description |
---|
CheckBoxMultiplePropertySelectionRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
beginRender(MultiplePropertySelection component,
org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
Writes the <table> element.
|
void |
endRender(MultiplePropertySelection component,
org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
Closes the <table> element.
|
void |
renderOption(MultiplePropertySelection component,
org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.form.IPropertySelectionModel model,
java.lang.Object option,
int index,
boolean selected)
Writes a row of the table.
|
public CheckBoxMultiplePropertySelectionRenderer()
public void beginRender(MultiplePropertySelection component, org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
beginRender
in interface IMultiplePropertySelectionRenderer
public void endRender(MultiplePropertySelection component, org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
endRender
in interface IMultiplePropertySelectionRenderer
public void renderOption(MultiplePropertySelection component, org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle, org.apache.tapestry.form.IPropertySelectionModel model, java.lang.Object option, int index, boolean selected)
renderOption
in interface IMultiplePropertySelectionRenderer