| PREV CLASS Documentation homepage NEXT CLASS |
IlvObject | +--IlvEmptyView
IlvEmptyView is the base class of all views. It consists of an
empty rectangular area that contains no child panels or subviews. | Constructor Summary | |
|---|---|
IlvEmptyView(left, top, width, height, namespace)
|
|
| Method Summary | |
|---|---|
addSizeListener(listener)
Adds a listener to be called when the view is resized. |
|
childrenToHTML()
Creates the HTML for this component's children. |
|
getBounds()
Returns the bounds of this view. |
|
getHeight()
Returns the height of this view. |
|
getLeft()
Returns the left border of this view. |
|
getLocation()
Returns the location of this view. |
|
getSize()
Returns the size of this view. |
|
getTop()
Returns the top border of this view. |
|
getWidth()
Returns the width of this view. |
|
isStateInCookie()
Returns whether the state of the view should be stored in a cookie or not. |
|
removeSizeListener(listener)
Removes a listener installed with addSizeListener. |
|
restoreState(view)
Handler called when the view should restore its state not from a cookie. |
|
saveState(view)
Handler called when the view should save its state but not in a cookie. |
|
setBounds(left, top, width, height)
Changes the size of the view. |
|
setChildrenBounds(left, top, width, height)
Changes the size of this view's children. |
|
setLocation(left, top)
Moves this view to the specified location. |
|
setSize(width, height)
Sets the size of this view. |
|
setStateInCookie(stateInCookie)
Sets whether the state of the view should be stored in a cookie or not. |
|
toHTML()
Creates the HTML for this component. |
|
| Constructor Detail |
IlvEmptyView(left, top, width, height, namespace)
| Method Detail |
addSizeListener(listener)
listener - The listener function, which must have the following
parameter:
IlvEmptyView.childrenToHTML()
IlvEmptyView's internal
implementation
and is not a public API. getBounds()
left, top,
width, and height.
These properties represent the bounds of this view expressed in the
coordinates of the browser window.getHeight()
getLeft()
getLocation()
left and
top. These properties represent the location of this
view expressed in the coordinates of the browser window.getSize()
width and
height. These properties represent the size of this
view expressed in pixels.getTop()
getWidth()
isStateInCookie()
removeSizeListener(listener)
addSizeListener. listener - The listener to remove.restoreState(view)
view - The view that need to restore its state.
setStateInCookie.saveState(view)
view - The view which state should be saved.state - A string representing the state of the view.
setStateInCookie.setBounds(left, top, width, height)
left - The absolute x position of the view on the page.top - The absolute y position of the view on the page.width - The width of the view.height - The height of the view.setChildrenBounds(left, top, width, height)
IlvEmptyView's internal
implementation and is not a public API. left - The absolute x position of the view on the page.top - The absolute y position of the view on the page.width - The width of the view.height - The height of the view.setLocation(left, top)
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.setSize(width, height)
width - The width of the view in pixels.height - The height of the view in pixels.setStateInCookie(stateInCookie)
toHTML()
childrenToHTML() instead. | Inherited Methods from IlvObject |
| PREV CLASS Documentation homepage NEXT CLASS |