public class SelectPropertySelectionRenderer extends java.lang.Object implements IPropertySelectionRenderer
IPropertySelectionRenderer that
produces a <select> element (containing <option> elements).| Constructor and Description |
|---|
SelectPropertySelectionRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Writes the <select> element.
|
void |
endRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Closes the <select> element.
|
void |
renderOption(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
java.lang.Object option,
int index,
boolean selected)
Writes an <option> element.
|
public SelectPropertySelectionRenderer()
public void beginRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
PropertySelection is disabled
then a disabled attribute is written into the tag
(though Navigator 4 will ignore this).beginRender in interface IPropertySelectionRendererpublic void endRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
endRender in interface IPropertySelectionRendererpublic void renderOption(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle, IPropertySelectionModel model, java.lang.Object option, int index, boolean selected)
renderOption in interface IPropertySelectionRenderer