|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.tapestry.AbstractComponent net.sf.tacos.components.EventListener
public abstract class EventListener
A component that acts like the EventListener annotation.
Field Summary |
---|
Fields inherited from class org.apache.tapestry.AbstractComponent |
---|
_body, _bodyCount |
Constructor Summary | |
---|---|
EventListener()
|
Method Summary | |
---|---|
abstract org.apache.tapestry.AbstractComponent |
getComponent()
The required listener parameter. |
abstract org.apache.tapestry.pageload.IComponentVisitor |
getEventConnectionVisitor()
|
abstract org.apache.tapestry.internal.event.IComponentEventInvoker |
getEventInvoker()
|
abstract String[] |
getEvents()
The list of events that should cause this listener to invoke. |
org.apache.tapestry.IForm |
getForm()
Finds the form that encloses this component. |
abstract org.apache.tapestry.IActionListener |
getListener()
The required listener parameter. |
abstract org.apache.tapestry.IScript |
getScript()
Injected. |
abstract String[] |
getTargets()
The unique IComponent ids of the targeted sources that this listener will be
listening to events on. |
abstract boolean |
isAsync()
Will either submit the form normally or asynchronously. |
abstract boolean |
isValidateForm()
Whether or not to perform form validation. |
protected void |
renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
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, 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 class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public EventListener()
Method Detail |
---|
public abstract boolean isValidateForm()
public abstract boolean isAsync()
public abstract String[] getEvents()
events = {"onClick", "onOptionSelect"}
etc..
public abstract String[] getTargets()
IComponent
ids of the targeted sources that this listener will be
listening to events on.
public abstract org.apache.tapestry.IActionListener getListener()
public abstract org.apache.tapestry.AbstractComponent getComponent()
public abstract org.apache.tapestry.IScript getScript()
public abstract org.apache.tapestry.internal.event.IComponentEventInvoker getEventInvoker()
getEventInvoker
in interface org.apache.tapestry.IComponent
getEventInvoker
in class org.apache.tapestry.AbstractComponent
public abstract org.apache.tapestry.pageload.IComponentVisitor getEventConnectionVisitor()
protected void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
renderComponent
in class org.apache.tapestry.AbstractComponent
public org.apache.tapestry.IForm getForm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |