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

Method Detail

beginRender

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


renderOption

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

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