org.apache.tapestry5
Interface ComponentAction<T>
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- BeanEditor.Prepare
public interface ComponentAction<T>
- extends Serializable
An action that is associated with a component. This is used in several areas of Tapestry and is primarily an attempt
to externalize state for a component so that it can be recorded outside the object.
ComponentActions should be immutable. They are often created during one request and associated with a particular
component instance. They are then used in a later request (with an equivalent component instance).
ComponentActions are serializable (they are often serialized into Base64 strings for storage on the client).
Method Summary |
void |
execute(T component)
Passed a component instance, the action should operate upon the instance. |
execute
void execute(T component)
- Passed a component instance, the action should operate upon the instance.
Copyright © 2003-2012 The Apache Software Foundation.