/** * Constructs a new IFrame * <p> * * @param URL * The source URL to utilize * @param name * The name of the IFrame. Used for Targets * @param widthInPixels * The width in Pixels of the IFrame * @param heightInPixels * The height in Pixels of the IFrame */ public IFrame(String URL, String name, int widthInPixels, int heightInPixels) { super(ComponentTypes.IFrame); addAttribute(IFrameAttributes.Name, name); addAttribute(IFrameAttributes.Src, URL); addAttribute(IFrameAttributes.Width, widthInPixels); addAttribute(IFrameAttributes.Height, heightInPixels); setTiny(true); }
/** * Constructs a new IFrame * <p> * * @param URL * The source URL to utilize * @param name * The name of the IFrame. Used for Targets * @param widthInPixels * The width in Pixels of the IFrame * @param heightInPixels * The height in Pixels of the IFrame */ public IFrame(String URL, String name, int widthInPixels, int heightInPixels) { super(ComponentTypes.IFrame); addAttribute(IFrameAttributes.Name, name); addAttribute(IFrameAttributes.Src, URL); addAttribute(IFrameAttributes.Width, widthInPixels); addAttribute(IFrameAttributes.Height, heightInPixels); setTiny(true); }
/** * Constructs a new IFrame * <p> * * @param URL * The source URL to utilize * @param name * The name of the IFrame. Used for Targets * @param widthInPixels * The width in Pixels of the IFrame * @param heightInPixels * The height in Pixels of the IFrame */ public IFrame(String URL, String name, int widthInPixels, int heightInPixels) { super(ComponentTypes.IFrame); addAttribute(IFrameAttributes.Name, name); addAttribute(IFrameAttributes.Src, URL); addAttribute(IFrameAttributes.Width, widthInPixels); addAttribute(IFrameAttributes.Height, heightInPixels); setTiny(true); }