|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.form.SelectPropertySelectionRenderer
public class SelectPropertySelectionRenderer
Implementation of IPropertySelectionRenderer
that
produces a <select> element (containing <option> elements).
Constructor Summary | |
---|---|
SelectPropertySelectionRenderer()
|
Method Summary | |
---|---|
void |
beginRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Writes the <select> element. |
void |
endRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Closes the <select> element. |
void |
renderOption(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
Object option,
int index,
boolean selected)
Writes an <option> element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectPropertySelectionRenderer()
Method Detail |
---|
public void beginRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
PropertySelection
is disabled
then a disabled
attribute is written into the tag
(though Navigator 4 will ignore this).
beginRender
in interface IPropertySelectionRenderer
public void endRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
endRender
in interface IPropertySelectionRenderer
public void renderOption(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle, IPropertySelectionModel model, Object option, int index, boolean selected)
renderOption
in interface IPropertySelectionRenderer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |