org.araneaframework
Interface Widget
- All Superinterfaces:
- Component, Serializable, Service
- All Known Subinterfaces:
- ApplicationWidget, Composite.CompositeWidget, Control, FilteredInputControl, FilterWidget, FlowContextWidget, Relocatable.RelocatableWidget, TabContext, Viewable.ViewableWidget
- All Known Implementing Classes:
- BaseApplicationWidget, BaseControl, BaseFilterWidget, BaseWidget, FloatControl, NumberControl, PopupFlowWrapperWidget, RelocatableDecorator, StandardClientStateFilterWidget, StandardFlowContainerWidget, TabWidget, TextControl, TimestampControl
- public interface Widget
- extends Service, Serializable
Widget is a component with a graphical representation (via render(OutputData)),
event handling (via event(Path, InputData).
As every Widget has a lifecycle of a Component, it also has a request cycle. Request cycle
starts with update(InputData) which gives the Widget the data from the request
as InputData.
If an event is routed to this widget, event(Path, InputData) is invoked.
- Author:
- "Toomas Römer" , Jevgeni Kabanov (ekabanov at araneaframework dot org)
_getWidget
public Widget.Interface _getWidget()