org.apache.tapestry.components
Class InvokeListener
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.components.InvokeListener
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IDirectEvent, Component, IRender
public abstract class InvokeListener
- extends AbstractComponent
Invokes a listener method, passing listener parameters. This is used when a
page or component needs some setup logic that can be best accomplished in
Java code. If the listener parameter is not bound, attempt to locate an
implicit listener named by the capitalized component id, prefixed by "do".
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainedRenderers, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getInnerRenderers, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from interface org.apache.hivemind.LocationHolder |
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
InvokeListener
public InvokeListener()
renderComponent
protected void renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
- Description copied from class:
AbstractComponent
- Invoked by
AbstractComponent.render(IMarkupWriter, IRequestCycle)
to actually render the component
(with any parameter values already set). This is the method that subclasses must implement.
- Specified by:
renderComponent
in class AbstractComponent
getListener
public abstract IActionListener getListener()
- Parameter.
getParameters
public abstract Object getParameters()
- Parameter.
getListenerInvoker
public abstract ListenerInvoker getListenerInvoker()
- Injected.
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.