| java.lang.Object org.apache.tapestry.internal.services.EventImpl org.apache.tapestry.internal.services.ComponentEventImpl
ComponentEventImpl | public ComponentEventImpl(String eventType, String originatingComponentId, Object[] context, ComponentEventHandler handler, TypeCoercer typeCoercer)(Code) | | Parameters: eventType - non blank string used to identify the type of event that was triggered Parameters: originatingComponentId - the id of the component that triggered the event (this will likely need to changesomewhat) Parameters: context - an array of values that can be made available to handler methods via methodparameters Parameters: handler - invoked when a non-null return value is obtained from an event handler method Parameters: typeCoercer - used when coercing context values to parameter types |
matchesByComponentId | public boolean matchesByComponentId(String componentId)(Code) | | TODO: This implementation is broken, but will get the job done for simple cases. It just
doesn't do quite the right think when an event bubbles up past its originating component's
container (can lead to false matches).
|
matchesByEventType | public boolean matchesByEventType(String eventType)(Code) | | |
matchesByParameterCount | public boolean matchesByParameterCount(int parameterCount)(Code) | | |
|
|