View Javadoc

1   package net.sf.tacos.components.dojo;
2   
3   import org.apache.tapestry.dojo.IWidget;
4   
5   /**
6    * Represents a <a href="http://dojotoolkit.org">dojo</a> widget that contains children widgets.
7    * A contained widget can use the method {@link #addChild(IWidget)} to add itself to its container.
8    * During the execution of the container's script template the childs are added by calling
9    * <code>dojo.widget.DomWidget.addChild(Widget)</code>
10   * 
11   * @author idrobiazk
12   *
13   */
14  public interface IDojoContainer {
15  	
16  	/**
17  	 * Adds a child {@link IWidget} to a container.
18  	 * @param widget child to add
19  	 */
20  	public void addChild(IWidget widget);
21  }