|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.link.DirectLinkWorker
public class DirectLinkWorker
Manages connecting IDirect components that also implement
the ILinkComponent interface to JavaScript asynchronous IO operations
when any of the shared parameters of IDirect are specified that relate
to asynchronous operations.
| Constructor Summary | |
|---|---|
DirectLinkWorker()
Default constructor, does nothing. |
|
| Method Summary | |
|---|---|
void |
initialize()
Needs to be invoked to initialize resources used. |
void |
renderBody(IRequestCycle cycle,
Body component)
Special render for handling html element targets. |
void |
renderComponent(IRequestCycle cycle,
IComponent component)
Invoked just after the components render call, giving services implementing the ComponentRenderWorker interface a guaranteed
state to work off of. |
void |
setClassResolver(ClassResolver resolver)
Auto-Wire injected. |
void |
setScript(String path)
|
void |
setScriptSource(IScriptSource source)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectLinkWorker()
| Method Detail |
|---|
public void renderComponent(IRequestCycle cycle,
IComponent component)
ComponentRenderWorker interface a guaranteed
state to work off of.
renderComponent in interface ComponentRenderWorkercycle - The associated request for this render.component - The component that has just been rendered.
public void renderBody(IRequestCycle cycle,
Body component)
renderBody in interface ComponentRenderWorkercycle - The associated request cycle.component - The Body component, which holds the needed PageRenderSupport object.public void initialize()
public void setScriptSource(IScriptSource source)
public void setScript(String path)
public void setClassResolver(ClassResolver resolver)
resolver -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||