|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.services.impl.ComponentEventConnectionWorker
public class ComponentEventConnectionWorker
Implementation that handles connecting events to listener method invocations.
| Field Summary | |
|---|---|
static String |
FORM_NAME_LIST
Stored in IRequestCycle with associated forms. |
| Constructor Summary | |
|---|---|
ComponentEventConnectionWorker()
|
|
| Method Summary | |
|---|---|
void |
activateService()
|
void |
passivateService()
|
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(org.apache.hivemind.ClassResolver resolver)
|
void |
setComponentScript(String script)
The javascript that will be used to connect the component to its configured events. |
void |
setElementScript(String script)
The javascript that connects html elements to direct listener methods. |
void |
setEventEngine(IEngineService eventEngine)
Sets the engine service that will be used to construct callback URL references to invoke the specified components event listener. |
void |
setEventInvoker(IComponentEventInvoker invoker)
Sets the invoker to use/manage event connections. |
void |
setScriptSource(IScriptSource scriptSource)
The service that parses script files. |
void |
setWidgetScript(String script)
The javascript that will be used to connect the widget component to its configured events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FORM_NAME_LIST
IRequestCycle with associated forms.
| Constructor Detail |
|---|
public ComponentEventConnectionWorker()
| Method Detail |
|---|
public void activateService()
activateService in interface org.apache.hivemind.PoolManageablepublic void passivateService()
passivateService in interface org.apache.hivemind.PoolManageable
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 setEventInvoker(IComponentEventInvoker invoker)
invoker - Manages component event invocations.public void setEventEngine(IEngineService eventEngine)
eventEngine - Engine used to create client side urls for updating things async.public void setComponentScript(String script)
script - The component script functions.public void setWidgetScript(String script)
script - The dojo widget based script.public void setElementScript(String script)
script - Event element target scripts.public void setScriptSource(IScriptSource scriptSource)
scriptSource - Service.public void setClassResolver(org.apache.hivemind.ClassResolver resolver)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||