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 243791 2004-02-19 17:38:13Z hlship $
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.
 

Method Detail

beginRender

void beginRender(PropertySelection component,
                 IMarkupWriter writer,
                 IRequestCycle cycle)
Begins the rendering of the PropertySelection.


renderOption

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

void endRender(PropertySelection component,
               IMarkupWriter writer,
               IRequestCycle cycle)
Ends the rendering of the PropertySelection.