|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAutoCompleteRenderer
A renderer used to generate html output for the AutoCompleteBehavior
.
Helper implementations of this interface may abstract the implementation specific details. Direct implementations of this interface should only be used when total control is required.
The autocompletion value is supplied via an attribute on the first html element
named textvalue
, if no attribute is found the innerHtml property
of the first element will be used instead.
For example:
new IAutoCompleteRenderer() { void renderHead(Response r) { r.write("
Method Summary | |
---|---|
void |
render(java.lang.Object object,
wicket.Response response,
java.lang.String criteria)
Render the html fragment for the given completion object. |
void |
renderFooter(wicket.Response response)
Render the html footer fragment for the completion. |
void |
renderHeader(wicket.Response response)
Render the html header fragment for the completion. |
Method Detail |
---|
void render(java.lang.Object object, wicket.Response response, java.lang.String criteria)
Response.write(CharSequence)
.
object
- completion choice objectresponse
- criteria
- void renderHeader(wicket.Response response)
Response.write(CharSequence)
.
response
- void renderFooter(wicket.Response response)
Response.write(CharSequence)
.
response
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |