|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.util.SelectModelRenderer
public class SelectModelRenderer
Constructor Summary | |
---|---|
SelectModelRenderer(MarkupWriter writer,
ValueEncoder encoder)
|
Method Summary | |
---|---|
void |
beginOptionGroup(OptionGroupModel groupModel)
Invoked once for each OptionGroupModel , just before invoking SelectModelVisitor.option(OptionModel) for each
embedded option within the group. |
void |
endOptionGroup(OptionGroupModel groupModel)
Invoked after all options within the group have been visited. |
protected boolean |
isOptionSelected(OptionModel optionModel,
String clientValue)
If true, then the selected attribute will be written. |
void |
option(OptionModel optionModel)
Invoked for each option within a group, and at the end, for each ungrouped option. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectModelRenderer(MarkupWriter writer, ValueEncoder encoder)
Method Detail |
---|
public void beginOptionGroup(OptionGroupModel groupModel)
SelectModelVisitor
OptionGroupModel
, just before invoking SelectModelVisitor.option(OptionModel)
for each
embedded option within the group.
beginOptionGroup
in interface SelectModelVisitor
public void endOptionGroup(OptionGroupModel groupModel)
SelectModelVisitor
endOptionGroup
in interface SelectModelVisitor
public void option(OptionModel optionModel)
SelectModelVisitor
option
in interface SelectModelVisitor
protected boolean isOptionSelected(OptionModel optionModel, String clientValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |