org.araneaframework.core
Class BaseWidget.WidgetImpl

java.lang.Object
  extended byorg.araneaframework.core.BaseWidget.WidgetImpl
All Implemented Interfaces:
Serializable, Widget.Interface
Direct Known Subclasses:
BaseControl.WidgetImpl
Enclosing class:
BaseWidget

protected class BaseWidget.WidgetImpl
extends Object
implements Widget.Interface

See Also:
Serialized Form

Constructor Summary
protected BaseWidget.WidgetImpl()
           
 
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 input)
          Widget starts its request cycle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseWidget.WidgetImpl

protected BaseWidget.WidgetImpl()
Method Detail

update

public void update(InputData input)
Description copied from interface: Widget.Interface
Widget starts its request cycle. update(InputData) gives the widget the chance to update itself with the current InputData and do the necessary updates.

Specified by:
update in interface Widget.Interface

event

public void event(Path path,
                  InputData input)
Description copied from interface: Widget.Interface
Widget received an event.

Specified by:
event in interface Widget.Interface
Parameters:
path -
input -

render

public void render(OutputData output)
Description copied from interface: Widget.Interface
Widget outputs its graphical representation to OutputData. This method is idempotent and thus can be called mupltiple times.

Specified by:
render in interface Widget.Interface