org.araneaframework
Interface Widget.Interface

All Superinterfaces:
Serializable
All Known Implementing Classes:
BaseControl.WidgetImpl, BaseWidget.WidgetImpl
Enclosing interface:
Widget

public static interface Widget.Interface
extends Serializable


Method Summary
 void event(Path path, InputData input)
          Widget received an event.
 void render(OutputData output)
          Widget outputs its graphical representation to OutputData.
 void update(InputData data)
          Widget starts its request cycle.
 

Method Detail

update

void update(InputData data)
Widget starts its request cycle. update(InputData) gives the widget the chance to update itself with the current InputData and do the necessary updates.


event

void event(Path path,
           InputData input)
Widget received an event.

Parameters:
path -
input -
Throws:
Exception

render

void render(OutputData output)
            throws Exception
Widget outputs its graphical representation to OutputData. This method is idempotent and thus can be called mupltiple times.

Throws:
Exception