net.sf.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.1 2001/08/01 22:30:41 hship Exp $
- Author:
- Sanjay Munjal
Method Summary |
void |
beginRender(MultiplePropertySelection component,
IResponseWriter writer,
IRequestCycle cycle)
Begins the rendering of the PropertySelection . |
void |
endRender(MultiplePropertySelection component,
IResponseWriter writer,
IRequestCycle cycle)
Ends the rendering of the PropertySelection . |
void |
renderOption(MultiplePropertySelection component,
IResponseWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
java.lang.Object option,
int index,
boolean selected)
Invoked for each element obtained from the model . |
beginRender
public void beginRender(MultiplePropertySelection component,
IResponseWriter writer,
IRequestCycle cycle)
throws RequestCycleException
- Begins the rendering of the
PropertySelection
.
renderOption
public void renderOption(MultiplePropertySelection component,
IResponseWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
java.lang.Object option,
int index,
boolean selected)
throws RequestCycleException
- Invoked for each element obtained from the
model
.
endRender
public void endRender(MultiplePropertySelection component,
IResponseWriter writer,
IRequestCycle cycle)
throws RequestCycleException
- Ends the rendering of the
PropertySelection
.