IlvObject | +--IlvPropertyStateManager | +--IlvFacesProxy | +--IlvSizedViewProxy | +--IlvBasicViewProxy | +--IlvFacesViewProxy
IlvFacesViewProxy
is the proxy that handles an IlvView
DHTML object.Constructor Attributes | Constructor Name and Description |
---|---|
IlvFacesViewProxy(clientId, refNodeId, width, height, additionnalParams)
|
Method Attributes | Method Name and Description |
---|---|
Returns the background color of the view.
|
|
Returns the message displayed by the view if an error occurred during the image generation by the server.
|
|
Indicates if the component is generating an image map in addition to
the image.
|
|
Returns the image format of the image displayed by this view.
|
|
Returns the image map generator.
|
|
Returns the flag indicating that an image map should be visible or not (if generated).
|
|
Returns the current interactor set on the view.
|
|
Returns the JavaScript code executed when the capabilities are loaded from the server.
|
|
Returns the JavaScript code that is executed when the image is loaded.
|
|
Returns the factor used to pan.
|
|
getPopupMenu(popupMenu)
Returns the specified contextual pop-up menu set on this view.
|
|
Returns the servlet that will generate the image.
|
|
Returns the URL of the image generating servlet.
|
|
Returns the interval in seconds between two automatic updates.
|
|
Returns the image displayed during the image loading.
|
|
Returns the zoom factor.
|
|
Indicates if the automatic update will also update the capabilities.
|
|
Returns whether the view is constrained to the manager content bounds or not.
|
|
isResizable(resizable)
Returns whether the managed view is resizable or not.
|
|
moveTo(x, y)
Queries a new image with the specified value for the top-left corner.
|
|
panEast()
Pans the image to the east.
|
|
panNorth()
Pans the image to the north.
|
|
Pans the image to the northeast.
|
|
Pans the image to the northwest.
|
|
panSouth()
Pans the image to the south.
|
|
Pans the image to the southeast.
|
|
Pans the image to the southwest.
|
|
panWest()
Pans the image to the west.
|
|
performAction(actionName, params, capabilities, capabilitiesParams)
Performs an action on the server side.
|
|
performJSFAction(mb, params, capabilities, capabilitiesParams)
Performs a predefined action that will invoke the specified method binding.
|
|
setAccessible(accessible)
Sets whether the managed view is accessible or not.
|
|
setAutoUpdateCapabilities(update)
When set to
true the automatic update will also update the
capabilities. |
|
setBackgroundColor(backgroundColor)
The background color of the view.
|
|
setConstrainedOnContents(constrainedOnContents)
Sets whether the view is constrained to the manager content bounds or not.
|
|
setErrorMessage(errorMessage)
The message displayed by the view if an error occurred during the image generation by the server.
|
|
setGenerateImageMap(generateImageMap)
Tells the component to generate an image map in addition to the image.
|
|
setHotkeys(hotkeys)
Sets the keyboard hotkeys for the view.
|
|
setImageFormat(imageFormat)
The image format used to encode the image that is displayed by this view.
|
|
setImageMapGenerator(imageMapGenerator)
Sets the image map generator.
|
|
setImageMapVisible(imageMapVisible)
Indicates whether an image map should be visible or not (if generated).
|
|
setInteractor(interactor)
Sets the current interactor on the view.
|
|
setOnCapabilitiesLoaded(onCapabilitiesLoaded)
The JavaScript code executed when the capabilities are loaded from the server.
|
|
setOnImageLoaded(onImageLoaded)
Sets the JavaScript code that is executed when the image is loaded.
|
|
setPanFactor(panFactor)
Changes the factor used to pan.
|
|
setPopupMenu(popupMenu)
Sets the specified contextual pop-up menu on this view.
|
|
setResizable(resizable)
Sets whether the managed view is resizable or not.
|
|
setScrollBar(state)
Sets the state of scroll bar in the view.
|
|
setServlet(servlet)
The servlet that will generate the image.
|
|
setServletURL(servletURL)
Sets the URL of the image generating servlet.
|
|
setUpdateInterval(updateInterval)
The interval in seconds between two automatic updates.
|
|
setWaitingImage(waitingImage)
The image displayed during the image loading.
|
|
setZoomFactor(zoomFactor)
The factor used when
zoomIn or zoomOut JavaScript actions are called. |
|
showAll()
Queries a new image showing all the area available from the server.
|
|
updateAll(showAll, keepLayerVisibility)
Updates the capabilities and a new image from the server.
|
|
Updates the image by issuing a request to the servlet.
|
|
zoomBy(z)
Zooms the view to a specified factor by querying a new image from the server.
|
|
zoomIn()
Zooms the view in by querying a new image from the server.
|
|
zoomOut()
Zooms the view out by querying a new image from the server.
|
|
zoomToIdentity(nearZoomLevelAllowed)
Sets the identity transformer on the view.
|
getMessageBox, getServletClass, init, setMessageBox, setServletClass |
afterLayoutHandler, getAbsoluteBounds, getBounds, getCreationSize, getHeight, getMinimumSize, getWidth, positionAfterLayout, registerResizeListener, resizeAfterLayout, setMinimumSize |
dispose, getAbsoluteId, getJViewsDHTMLObject, getNodeCoords, getObject, getReferenceNode, setAbsoluteId, setJViewsDHTMLObject, setObject, setPageIdSupport, setReferenceNode, toHTML |
getClientId, notify |
getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
generateImageMap
property is true,panEast
,
panWest
, panNorth
, panNorthEast
,
panNorthWest
,
panSouth
, panSouthEast
, and
panSouthWest
.
true
.
Note that zoom levels (set by minZoomLevel
or zoomLevels
) lower than 1 will not be allowed if this property is set to true
.
ServerActionListener
) on the server side.
The action is defined by a name and a list of parameters.
getCapabilities
method
(if the capabilities
parameter is set to true
).
This action will be executed before the image generation.
The signature of the method must be void methodName (IlvManagerView, String[])
where
the first parameter is the IlvManagerView
instance that renders the image and the second
parameter is the array of action parameters.
The action must only change the IlvManagerView
instance as only the image is refreshed (the JSF components are not).
getCapabilities
method
(if the capabilities
parameter is set to true
).
true
the automatic update will also update the
capabilities.
true
.
Note that zoom levels (set by minZoomLevel
or zoomLevels
) lower than 1 will not be allowed if this property is set to true
.
generateImageMap
property is true,true
to show the image map or false
to hide it.
null
to remove the current interactor.
panEast
, panWest
,
panNorth
,
panNorthEast
, panNorthWest
,
panSouth
, panSouthEast
, and
panSouthWest
.
zoomIn
or zoomOut
JavaScript actions are called.
true
the new image will show
all of the area available on the server.
true
the current layer's
visibility state is kept.
false
).
true
if the transformation succeeded, false
otherwise.