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)

Nested Class Summary
static interface Widget.Interface
           
 
Method Summary
 Widget.Interface _getWidget()
           
 
Methods inherited from interface org.araneaframework.Service
_getService
 
Methods inherited from interface org.araneaframework.Component
_getComponent, getEnvironment, getScope, isAlive
 

Method Detail

_getWidget

public Widget.Interface _getWidget()