org.apache.tapestry.form
Interface IPropertySelectionRenderer
- All Known Implementing Classes:
- RadioPropertySelectionRenderer, SelectPropertySelectionRenderer
- public interface IPropertySelectionRenderer
Defines an object that works with a PropertySelection
component
to render the individual elements obtained from the model
.
- Version:
- $Id: IPropertySelectionRenderer.java,v 1.2 2003/03/15 21:22:11 hlship Exp $
- Author:
- Howard Lewis Ship
Method Summary |
void |
beginRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Begins the rendering of the PropertySelection . |
void |
endRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Ends the rendering of the PropertySelection . |
void |
renderOption(PropertySelection 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(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
- Begins the rendering of the
PropertySelection
.
renderOption
public void renderOption(PropertySelection 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(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
- Ends the rendering of the
PropertySelection
.