/*
 * @(#)IAppletGUIBuilder.java	1.0 11-Apr-07
 *
 * IIT Bombay, 
 * Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.
 */
package interfaces;

import java.applet.Applet;
import java.awt.Component;

import types.Bounds;

/**
 * Interface for Applet GUI builder.<br>
 * The components like Button, List, TextField, etc. can added
 * to the applet interface using this interface type
 *
 * @author  Prathab, Mukesh
 * @version 1.0, 11-Apr-07
 * @see java.awt.Component
 */
public interface IAppletGUIBuilder {
	
	/** 
	 * Builds the respective component (control) and adds to Applet.
	 * @param bounds the coordinate bounds where the component to be placed
	 * @param component the component that need to be added
	 * @param applet the applet frame to which the component to be added
	 * @param object object required to intialize the component
	 */
	public void build(Bounds bounds,Component component, Applet applet, Object object);

}
