public class SyntheticListener extends java.lang.Object implements IActionListener
ListenerMethodInvoker
. This is the bridge from listener
method names to listener method invocations.
TODO: It would really be nice if we could get the location of the listener binding into thrown exceptions. As implemented, as best, it will be the location of the <page-specification> (or <component>) of the page (or component) containing the listener method.
Constructor and Description |
---|
SyntheticListener(java.lang.Object target,
ListenerMethodInvoker invoker) |
Modifier and Type | Method and Description |
---|---|
void |
actionTriggered(IComponent component,
IRequestCycle cycle)
Method invoked by the component (an
ActionLink or
Form , when its URL is triggered. |
public SyntheticListener(java.lang.Object target, ListenerMethodInvoker invoker)
public void actionTriggered(IComponent component, IRequestCycle cycle)
IActionListener
ActionLink
or
Form
, when its URL is triggered.actionTriggered
in interface IActionListener
component
- The component which was "triggered".cycle
- The request cycle in which the component was triggered.