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 Attributes | Constructor Name and Description |
---|---|
IlvEmptyView(left, top, width, height, namespace)
|
Method Attributes | Method Name and Description |
---|---|
addSizeListener(listener)
Adds a listener to be called when the view is resized.
|
|
childrenToHTML(parentNode)
Creates the HTML for this component's children.
|
|
Returns the bounds of this view.
|
|
Returns the height of this view.
|
|
getLeft()
Returns the left border of this view.
|
|
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.
|
|
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, state)
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(parentNode)
Creates the HTML for this component.
|
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
IlvEmptyView
s in
multiple browser windows or in multiple frames of a
frameset and the views must store cookies that should not
conflict with each other. In this case, use the namespace
to uniquely identify the views that belong to a specific
browser window or frameset frame.
For example, if you have created a new window with a unique
name:
you can then use the window name to define the namespace for views within the child page:open(childPageURL, uniqueWindowName, ...);
var view = new IlvEmptyView(..., window.name);
IlvEmptyView
.IlvEmptyView
's internal
implementation
and is not a public API.
left
, top
,
width
, and height
.
These properties represent the bounds of this view expressed in the
coordinates of the browser window.left
and
top
. These properties represent the location of this
view expressed in the coordinates of the browser window.width
and
height
. These properties represent the size of this
view expressed in pixels.addSizeListener
.
IlvEmptyView
's internal
implementation and is not a public API.
childrenToHTML()
instead.