| PREV CLASS Documentation homepage NEXT CLASS |
IlvObject | +--IlvPanel
IlvHTMLPanel or IlvURLPanel,
instead. | Constructor Summary | |
|---|---|
IlvPanel(left, top, width, height)
|
|
| Method Summary | |
|---|---|
dispose()
Disposes of all resources being used by the panel. |
|
getBounds()
Returns the bounds of this IlvPanel. |
|
getClip()
Returns the clip of this IlvPanel. |
|
getCursor()
Returns the mouse cursor that is displayed when the mouse is over this panel. |
|
getHeight()
Returns the height of this IlvPanel. |
|
getLeft()
Returns the position of the left border of this IlvPanel. |
|
getMouseEventSource()
Returns the object that catches each mouse event sent by the browser to this panel. |
|
getScrollPosition()
Returns the scroll of this IlvPanel. |
|
getTop()
Returns the position of the top border of this IlvPanel. |
|
getWidth()
Returns the width of this IlvPanel. |
|
getZIndex()
Returns the 'z' coordinate of the panel. |
|
isVisible()
Returns the visibility of this IlvPanel. |
|
setBackgroundColor(color)
Sets the background color of this IlvPanel. |
|
setBackgroundImage(image)
Sets the background image of this IlvPanel. |
|
setBounds(left, top, width, height)
Reshapes this IlvPanel. |
|
setClip(left, top, width, height)
Sets the clip of this panel. |
|
setCursor(cursor)
Sets the mouse cursor that is displayed when the mouse is over this panel. |
|
setLocation(left, top)
Moves this IlvPanel to the specified location. |
|
setScrollPosition(x, y)
Sets the scroll position of this IlvPanel. |
|
setSize(width, height)
Sets the size of this IlvPanel. |
|
setVisible(visible)
Sets the visibility of this IlvPanel. |
|
setZIndex(zIndex)
Set the 'z' coordinate of the panel. |
|
translate(dx, dy)
Moves this IlvPanel according to the specified amount of pixels. |
|
| Constructor Detail |
IlvPanel(left, top, width, height)
| Method Detail |
dispose()
IlvObject.callDispose() function on the onunload event
of the page:
<body onunload="IlvObject.callDispose()">
getBounds()
IlvPanel.
Note: You are not allowed to modify the object returned by this method.
To modify the bounds of a panel, use the setBounds method. left, top,
width, and height. These properties represent the bounds
of this IlvPanel expressed in the coordinates of
the browser window.getClip()
IlvPanel.
Note: You are not allowed to modify the object returned by this method.
To modify the clip of a panel, use the setClip method. left, top,
width, and height.These properties represent the clip
of this panel expressed in the coordinates of the panel.getCursor()
getHeight()
IlvPanel. getLeft()
IlvPanel. getMouseEventSource()
onmouseover, onmouseout, onmousedown,
onmouseup, and onmousemove.
Note: The way events are dispatched to the panels and the properties
of the mouse events are not independent of the browser.
Therefore, this method is not supposed to be used directly, but by the
view when an interactor is set to an IlvView object.
As a consequence, we recommend that you use the view-interactor
architecture instead of using the object returned by this method directly. getScrollPosition()
IlvPanel. Note: You are not allowed
to modify the object returned by this method. To modify the scroll position
of a panel, use the setScrollPosition method. x and y.getTop()
IlvPanel. getWidth()
IlvPanel. getZIndex()
isVisible()
IlvPanel. setBackgroundColor(color)
IlvPanel.
Note: By default, a panel has no background color and is therefore
transparent. color - A string describing the color.
For example, "#FFFFFF" corresponds to white.setBackgroundImage(image)
IlvPanel. The image is tiled
across the background of the panel. Note: By default, a panel has no
background image and is therefore transparent. image - The URL of an image.setBounds(left, top, width, height)
IlvPanel.
This method is a shortcut for setLocation and
setSize. setClip(left, top, width, height)
left - Position of the left side,
relative to the upper-left corner of the panel.top - Position of the top side,
relative to the upper-left corner of the panel.width - The width of the clip in pixels.height - The height of the clip in pixels.setCursor(cursor)
cursor - A string representing the cursor type according to the
specifications of the Cascading Style Sheets (CSS).setLocation(left, top)
IlvPanel to the specified location. left - Position of the left side,
relative to the upper-left corner of the window.top - Position of the top side,
relative to the upper-left corner of the window.setScrollPosition(x, y)
IlvPanel. x - The scroll position along the x-axis, relative to the top of the
panel.Y - The scroll position along the y-axis, relative to the left side of
the panel.setSize(width, height)
IlvPanel.
Note: This method also resets the clip. width - The width of the panel in pixels.height - The height of the panel in pixels.setVisible(visible)
IlvPanel. setZIndex(zIndex)
the - z-indextranslate(dx, dy)
IlvPanel according to the specified amount of pixels. | Inherited Methods from IlvObject |
| PREV CLASS Documentation homepage NEXT CLASS |