IlvFacesProxy

IlvObject
  |
  +--IlvPropertyStateManager
       |
       +--IlvFacesProxy
Category:
Framework JSF component
JavaScript File:
IlvFacesProxy.js
Description:
The base JavaScript Proxy class for ILOG JViews Faces components. Each ILOG JViews Faces components is associated which such a class. This class is proxying an ILOG JViews Thin-Client IlvObject. Most operation can be done of the proxy, however if you need to access its subject you can call the getObject() method.

See also:
#getObject()


Constructor Summary
IlvFacesProxy(clientId)

Method Summary
getAbsoluteId()
Returns the absolute identifier of the server side JavaServer Faces component.
getJViewsDHTMLObject()
Returns the JViews DHTML object managed by this proxy.
getNodeCoords()
Returns the coordinates of the reference node of this component.
getObject()
Returns subject of this proxy which is an the ILOG JViews Thin-Client JavaScript IlvObject.
getReferenceNode()
Returns the reference node of this component.
setAbsoluteId(absId)
Sets the absolute identifier of the server side JavaServer Faces component.
setJViewsDHTMLObject(object)
Sets the JViews DHTML object that will be managed by this proxy.
setObject(object)
Sets the JViews DHTML object that will be managed by this proxy.
setReferenceNode(refNode)
Sets the reference node of this component.
toHTML()
Creates the HTML components of the wrapped DHTML object.

Constructor Detail

IlvFacesProxy

IlvFacesProxy(clientId)
Creates an instance of IlvFacesProxy.

Method Detail

getAbsoluteId

getAbsoluteId()
Returns the absolute identifier of the server side JavaServer Faces component. This identifier must be returned to update component properties that reference other components.
Returns:
The absolute identifier of the component.

getJViewsDHTMLObject

getJViewsDHTMLObject()
Returns the JViews DHTML object managed by this proxy.
Returns:
The JViews DHTML object.

getNodeCoords

getNodeCoords()
Returns the coordinates of the reference node of this component. The returned object has two properties:

Since:
JViews 7.5


getObject

getObject()
Returns subject of this proxy which is an the ILOG JViews Thin-Client JavaScript IlvObject.
Returns:
the ILOG JViews Thin-Client JavaScript IlvObject.

getReferenceNode

getReferenceNode()
Returns the reference node of this component. The reference node is the container of the component.
The x,y coordinates will be computed in this container.

setAbsoluteId

setAbsoluteId(absId)
Sets the absolute identifier of the server side JavaServer Faces component.
Parameters:
absId - The absolute identifier of the component.

setJViewsDHTMLObject

setJViewsDHTMLObject(object)
Sets the JViews DHTML object that will be managed by this proxy. Each subclass must call this method in the constructor.
Parameters:
object - The wrapped JViews DHTML object.

setObject

setObject(object)
Sets the JViews DHTML object that will be managed by this proxy. Each subclass must call this method in the constructor.
Parameters:
object - The wrapped JViews DHTML object.

setReferenceNode

setReferenceNode(refNode)
Sets the reference node of this component. The reference node is the container of the component.
The x,y coordinates will be computed in this container.
Parameters:
refNode - The DOM node of the container.

toHTML

toHTML()
Creates the HTML components of the wrapped DHTML object.

Inherited Methods from IlvPropertyStateManager
getClientId, notify
Inherited Methods from IlvObject
callDispose, dispose, getClassName, hashCode, inherits, instanceOf, invoke, registerDispose, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility