org.apache.tapestry5.internal.transform
Interface EventHandlerMethodParameterProvider


public interface EventHandlerMethodParameterProvider

Supplies one parameter value when invoking a component event handler method. In general, this involves extracting a value form the event's context and coercing it to a type appropriate to the parameter.

These values are accumulated and used to invoke the event handler method.

Since:
5.2.0

Method Summary
 Object valueForEventHandlerMethodParameter(ComponentEvent event)
          Extract the value and coerce it to the correct type.
 

Method Detail

valueForEventHandlerMethodParameter

Object valueForEventHandlerMethodParameter(ComponentEvent event)
Extract the value and coerce it to the correct type.

Returns:
value that can be passed as a method parameter


Copyright © 2003-2012 The Apache Software Foundation.