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