| PREV CLASS Documentation homepage NEXT CLASS |
IlvObject
|
+--IlvPropertyStateManager
|
+--IlvFacesProxy
|
+--IlvSizedViewProxy
IlvSizedView proxy is the base class for the proxies
of JViews DHTML component that has a graphic representation. | Constructor Summary | |
|---|---|
IlvSizedViewProxy(clientId)
|
|
| Method Summary | |
|---|---|
afterLayoutHandler(resized)
Handler called after the layout is done. |
|
getAbsoluteBounds()
Returns the absolute bounds of the DHTML object. |
|
getBounds()
Returns the bounds of the DHTML object relative to the container. |
|
getCreationSize(refNodeId, serverW, serverH)
Returns the size of the component to be created. |
|
getHeight()
Returns the height of the DHTML object |
|
getMinimumSize()
Returns the minimum size of the container if no size is specified. |
|
getWidth()
Returns the width of the DHTML object. |
|
onResize(view)
Internal implementation |
|
positionAfterLayout(width, height)
Returns the relative position of the component by the reference node. |
|
registerResizeListener(jviewsObject)
Adds a size listener on the wrapped JViews DHTML object. This listener handle the resize of the JSF proxy component after a resize. Each subclass which wants to be resizable must call this method after the JViews DHTML object creation. |
|
resizeAfterLayout(init)
Updates the size of the JViews DHTML component according to its container size. |
|
setMinimumSize(minWidth, minHeight)
Sets the minimum size of the container if no size is specified by style or on the server. |
|
| Constructor Detail |
IlvSizedViewProxy(clientId)
| Method Detail |
afterLayoutHandler(resized)
resized - If the component was resized during the layout.getAbsoluteBounds()
getBounds()
getCreationSize(refNodeId, serverW, serverH)
refNodeId - The identifier of the HTML container.serverW - The width defined by the server (that is, not computed by style).serverH - The height defined by the server (that is, not computed by style).
setMinimumSizegetHeight()
getMinimumSize()
getWidth()
static onResize(view)
positionAfterLayout(width, height)
registerResizeListener(jviewsObject)
jviewObject - The wrapped JViews DHTML object.resizeAfterLayout(init)
init - Whether initialize the view after resizing.setMinimumSize(minWidth, minHeight)
minWidth - The minimum width.minHeight - The minHeight height.| Inherited Methods from IlvFacesProxy |
| Inherited Methods from IlvPropertyStateManager |
| Inherited Methods from IlvObject |
| PREV CLASS Documentation homepage NEXT CLASS |