|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILinkRenderer
Used by various instances of ILinkComponent
to
actually renderer a link. Implementations of the interface can manipulate
some of the details of how the link is written.
A link rendered may be used in many threads, and must be threadsafe.
Method Summary | |
---|---|
void |
renderLink(IMarkupWriter writer,
IRequestCycle cycle,
ILinkComponent linkComponent)
Renders the link, taking into account whether the link is disabled . |
Method Detail |
---|
void renderLink(IMarkupWriter writer, IRequestCycle cycle, ILinkComponent linkComponent)
disabled
.
This is complicated by the fact that the rendering of the body must be done
within a nested writer, since the Link component will not render its tag
until after its body renders (to allow for any wrapped components that need
to write event handlers for the link).
The renderer is expected to call back into the link component to handle any informal parameters, and to handle events output.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |