Save This Page
Home » tapestry-src-5.0.19 » org.apache.tapestry5.runtime » [javadoc | source]
org.apache.tapestry5.runtime
public interface: ComponentEvent [javadoc | source]

All Implemented Interfaces:
    Event

All Known Implementing Classes:
    ComponentEventImpl

An event that may originate in application logic, or as a result of a client interaction (a GET or POST from the client).
Method from org.apache.tapestry5.runtime.ComponentEvent Summary:
coerceContext,   getContext,   getEventContext,   matches
Method from org.apache.tapestry5.runtime.ComponentEvent Detail:
 public Object coerceContext(int index,
    String desiredTypeName)
    Coerces a context value to a particular type. The context is an array of objects; typically it is an array of strings of extra path information encoded into the action URL.
 public Object[] getContext()
 public EventContext getEventContext()
    Returns the underlying event context.
 public boolean matches(String eventType,
    String componentId,
    int parameterCount)
    Returns true if the event matches the provided criteria.