org.araneaframework.core
Class BaseWidget
java.lang.Object
org.araneaframework.core.BaseComponent
org.araneaframework.core.BaseService
org.araneaframework.core.BaseWidget
- All Implemented Interfaces:
- Component, Serializable, Service, Widget
- Direct Known Subclasses:
- BaseApplicationWidget, BaseFilterWidget, StandardServiceAdapterWidget
- public abstract class BaseWidget
- extends BaseService
- implements Widget
Non-composite widget component.
Compared to BaseService has the following extra
functionality:
- update(InputData) - update the state of the widget with the data in InputData
- event(Path, InputData) - handling a event
- render(OutputData) - rendering this Widget to OutputData
- Author:
- "Toomas Römer"
- See Also:
- Serialized Form
| Methods inherited from class org.araneaframework.core.BaseComponent |
_addComponent, _addComponent, _checkCall, _disableComponent, _enableComponent, _endCall, _endWaitingCall, _getChildren, _getComponent, _getDisabledChildren, _propagate, _relocateComponent, _removeComponent, _setEnvironment, _setScope, _startCall, _startWaitingCall, _strictCheckCall, _strictStartCall, _waitNoCall, destroy, disable, enable, getEnvironment, getScope, handleException, init, isAlive, isDead, isInitialized, propagate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseWidget
public BaseWidget()
_getWidget
public Widget.Interface _getWidget()
- Returns a widget's internal implementation.
- Specified by:
_getWidget in interface Widget
- Returns:
- the widget's implementation
handleWidgetException
protected void handleWidgetException(Exception e)
throws Exception
- Throws:
Exception
update
protected void update(InputData input)
throws Exception
- Throws:
Exception
event
protected void event(Path path,
InputData input)
throws Exception
- Throws:
Exception
render
protected void render(OutputData output)
throws Exception
- Throws:
Exception
getInputData
protected InputData getInputData()
- Description copied from class:
BaseService
- Provides access to the current request data.
- Overrides:
getInputData in class BaseService
- Returns:
- The current request data.
getOutputData
protected OutputData getOutputData()
- Description copied from class:
BaseService
- Provides access to the current response data.
- Overrides:
getOutputData in class BaseService
- Returns:
- The current response data.