Skip to main content
PREV CLASS NEXT CLASS FRAMES NO FRAMES

 

Class IlvURLPanel

IlvObject
   |
   +--IlvPanel
      |
      +--IlvURLPanel

Category:
Common component
JavaScript File:
IlvUtil.js
Description:
This class is a subclass of IlvPanel that can be updated with the setURL method.

Constructor Summary
Constructor Attributes Constructor Name and Description
 
IlvURLPanel(left, top, width, height)
Method Summary
Method Attributes Method Name and Description
 
Disposes of all resources being used by the panel.
 
Returns the context of the panel.
 
setURL(url)
Loads the content of the panel from the specified URL.
Methods inherited from class IlvPanel
getBounds, getClip, getCursor, getHeight, getLeft, getMouseEventSource, getScrollPosition, getTop, getWidth, getZIndex, isVisible, setBackgroundColor, setBackgroundImage, setBounds, setClip, setCursor, setLocation, setScrollPosition, setSize, setVisible, setZIndex, translate
Methods inherited from class IlvObject
getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility
Constructor Detail
IlvURLPanel
IlvURLPanel(left, top, width, height)
Parameters:
left - (optional) The x position of the panel relative to the upper-left corner of the window.
top - (optional) The y position of the panel relative to the upper-left corner of the window.
width - (optional) The width of the panel in pixels.
height - (optional) The height of the panel in pixels.
Method Detail
dispose
dispose()
Disposes of all resources being used by the panel. Make sure to call IlvObject.callDispose() function on the onunload event of the page:
 <body onunload="IlvObject.callDispose()">

getContext
getContext()
Returns the context of the panel. This context is the JavaScript object in which all the JavaScript variables from the loaded URL are defined.

setURL
setURL(url)
Loads the content of the panel from the specified URL. If the content is an HTML BODY that specifies an onload event handler.
Parameters:
url - The URL from which the panel content is loaded.

©Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.