org.apache.tapestry.dojo
Interface IWidget

All Superinterfaces:
IComponent, IDirectEvent, IRender, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
All Known Subinterfaces:
IFormWidget
All Known Implementing Classes:
AbstractFormWidget, AbstractWidget, Autocompleter, Dialog, DropdownDatePicker, DropdownTimePicker, GTimePicker, InlineEditBox

public interface IWidget
extends IDirectEvent

Represents a tapestry component that delegates part of its functionality / UI to a corresponding browser dojo widget instance.

Author:
jkuhnert

Method Summary
 void renderWidget(IMarkupWriter writer, IRequestCycle cycle)
          Similar to the semantics involved with normal AbstractComponent.renderComponent method writing component state to the output stream.
 
Methods inherited from interface org.apache.tapestry.IDirectEvent
isStateful, triggerEvent
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Method Detail

renderWidget

void renderWidget(IMarkupWriter writer,
                  IRequestCycle cycle)
Similar to the semantics involved with normal AbstractComponent.renderComponent method writing component state to the output stream.

Parameters:
writer - The markup writer used to write any output.
cycle - The corresponding request.


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.