org.araneaframework
Interface Message
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- BroadcastMessage, RoutedMessage, SeriesMessage, StandardFlowContextResettingMessage, StandardPopupFilterWidget.OpenerRegistrationMessage
- public interface Message
- extends Serializable
Message interface allows to send any events to any component in the component hierarchy.
- Author:
- Jevgeni Kabanov (ekabanov at araneaframework dot org)
- See Also:
BroadcastMessage,
RoutedMessage
|
Method Summary |
void |
send(Object id,
Component component)
Used to send message into component hierarchy whose root node is component. |
send
public void send(Object id,
Component component)
- Used to send message into component hierarchy whose root node is
component.
Propagation within the component hierarchy is done by Component.Interface.propagate(Message) method.
- Parameters:
id - id of component in hierarchy that should react to this Message.component - Component who should start propagating the Message further