org.apache.tapestry.contrib.form
Interface IMultiplePropertySelectionRenderer
- All Known Implementing Classes:
- CheckBoxMultiplePropertySelectionRenderer
- public interface IMultiplePropertySelectionRenderer
Defines an object that works with a MultiplePropertySelection
component
to render the individual elements obtained from the model
.
- Version:
- $Id: IMultiplePropertySelectionRenderer.java,v 1.2 2003/03/15 21:22:14 hlship Exp $
- Author:
- Sanjay Munjal
Method Summary |
void |
beginRender(MultiplePropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Begins the rendering of the MultiplePropertySelection . |
void |
endRender(MultiplePropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Ends the rendering of the MultiplePropertySelection . |
void |
renderOption(MultiplePropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
Object option,
int index,
boolean selected)
Invoked for each element obtained from the model . |
beginRender
public void beginRender(MultiplePropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
- Begins the rendering of the
MultiplePropertySelection
.
renderOption
public void renderOption(MultiplePropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
Object option,
int index,
boolean selected)
- Invoked for each element obtained from the
model
.
endRender
public void endRender(MultiplePropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
- Ends the rendering of the
MultiplePropertySelection
.