| PREV CLASS Documentation homepage. NEXT CLASS |
IlvObject
|
+--IlvPropertyStateManager
|
+--IlvFacesProxy
|
+--IlvSizedViewProxy
|
+--IlvBasicViewProxy
|
+--IlvFacesViewProxy
IlvFacesViewProxy is the proxy that handles an IlvView DHTML object. | Constructor Summary | |
|---|---|
IlvFacesViewProxy(clientId, refNodeId, width, height, additionnalParams)
|
|
| Method Summary | |
|---|---|
getBackgroundColor()
Returns the background color of the view. |
|
getErrorMessage()
Returns the message displayed by the view if an error occurred during the image generation by the server. |
|
getGenerateImageMap()
Indicates if the component is generating an image map in addition to the image. |
|
getImageFormat()
Returns the image format of the image displayed by this view. |
|
getImageMapGenerator()
Returns the image map generator. |
|
getImageMapVisible()
Returns the flag indicating that an image map should be visible or not (if generated). |
|
getInteractor()
Returns the current interactor set on the view. |
|
getOnCapabilitiesLoaded()
Returns the JavaScript code executed when the capabilities are loaded from the server. |
|
getOnImageLoaded()
Returns the JavaScript code that is executed when the image is loaded. |
|
getPanFactor()
Returns the factor used to pan. |
|
getPopupMenu(popupMenu)
Returns the specified contextual popup menu set on this view. |
|
getServlet()
Returns the servlet that will generate the image. |
|
getServletURL()
Returns the URL of the image generating servlet. |
|
getUpdateInterval()
Returns the interval in seconds between two automatic updates. |
|
getWaitingImage()
Returns the image displayed during the image loading. |
|
getZoomFactor()
Returns the zoom factor. |
|
isAutoUpdateCapabilities()
Indicates if the automatic update will also update the capabilities. |
|
isConstrainedOnContents()
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. |
|
panNorthEast()
Pans the image to the northeast. |
|
panNorthWest()
Pans the image to the northwest. |
|
panSouth()
Pans the image to the south. |
|
panSouthEast()
Pans the image to the southeast. |
|
panSouthWest()
Pans the image to the southwest. |
|
panWest()
Pans the image to the west. |
|
performAction(action, params, capabilities, capabilitiesParams)
Performs an action on the server side. |
|
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. |
|
setImageFormat(imageFormat)
The image format used to encode the image that is displayed by this view. Valid values are 'JPG' and 'PNG'. |
|
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 popup menu on this view. |
|
setResizable(resizable)
Sets whether the managed view is resizable or not. |
|
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. |
|
updateImage()
Updates the image by issuing a request to the servlet. |
|
zoomBy(amount)
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. . |
|
| Constructor Detail |
IlvFacesViewProxy(clientId, refNodeId, width, height, additionnalParams)
| Method Detail |
getBackgroundColor()
getErrorMessage()
getGenerateImageMap()
getImageFormat()
getImageMapGenerator()
generateImageMap property is true,getImageMapVisible()
getInteractor()
getOnCapabilitiesLoaded()
getOnImageLoaded()
getPanFactor()
panEast,
panWest, panNorth, panNorthEast,
panNorthWest,
panSouth, panSouthEast, and
panSouthWest. getPopupMenu(popupMenu)
getServlet()
getServletURL()
getUpdateInterval()
getWaitingImage()
getZoomFactor()
isAutoUpdateCapabilities()
isConstrainedOnContents()
true.
Note that zoom levels (set by minZoomLevel or zoomLevels) lower than 1 will not be allowed if this property is set to true.
isResizable(resizable)
resizable - The resizable flag.moveTo(x, y)
x - New value for the left in the server coordinate system.y - New value for the top in the server coordinate system.panEast()
panNorth()
panNorthEast()
panNorthWest()
panSouth()
panSouthEast()
panSouthWest()
panWest()
performAction(action, params, capabilities, capabilitiesParams)
ServerActionListener) on the server side.
The action is defined by a name and a list of parameters. actionName - The name of the action.params - The parameters of the action as an array of strings.capabilities - Indicates whether the action is affecting the capabilities
(like the manager bounds or the layer list, for example) or not.capabilitiesParams - The array that contains the parameter to pass to the getCapabilities method
(if the capabilities parameter is set to true).setAutoUpdateCapabilities(update)
true the automatic update will also update the
capabilities. setBackgroundColor(backgroundColor)
backgroundColor - The background color to set.setConstrainedOnContents(constrainedOnContents)
true.
Note that zoom levels (set by minZoomLevel or zoomLevels) lower than 1 will not be allowed if this property is set to true.
constrainedOnContents - Whether the view is constrained or not.
setErrorMessage(errorMessage)
errorMessage - The error message to display on error.setGenerateImageMap(generateImageMap)
setImageFormat(imageFormat)
imageFormat - The image format to set.setImageMapGenerator(imageMapGenerator)
generateImageMap property is true,imageMapGenerator - The image map generator to set.setImageMapVisible(imageMapVisible)
imageMapVisible - true to show the image map or false to hide it.setInteractor(interactor)
interactor - The interactor to set on the view, or null to remove the current interactor.setOnCapabilitiesLoaded(onCapabilitiesLoaded)
onCapabilitiesLoaded - The onCapabilitiesLoaded to set.setOnImageLoaded(onImageLoaded)
onImageLoaded - The code to execute when the image is loaded.setPanFactor(panFactor)
panEast, panWest,
panNorth,
panNorthEast, panNorthWest,
panSouth, panSouthEast, and
panSouthWest. setPopupMenu(popupMenu)
popupMenu - The contextual popup menu.setResizable(resizable)
resizable - The resizable flag.setServlet(servlet)
servlet - The servlet to set.setServletURL(servletURL)
servletURL - The image generating servlet URL.setUpdateInterval(updateInterval)
updateInterval - The update interval to set.setWaitingImage(waitingImage)
waitingImage - The waiting image URL to set.setZoomFactor(zoomFactor)
zoomIn or zoomOut JavaScript actions are called. zoomFactor - The zoom factor to set.showAll()
updateAll(showAll, keepLayerVisibility)
updateImage()
zoomBy(amount)
z - The zoom factor.zoomIn()
zoomOut()
zoomToIdentity(nearZoomLevelAllowed)
nearZoomLevelAllowed - Whether snap to the nearest zoom level in fixed zoom
levels mode or fail if the exact zoom level is not in the list (default value is false).true if the transformation succeeded, false otherwise.| Inherited Methods from IlvBasicViewProxy |
| Inherited Methods from IlvSizedViewProxy |
| Inherited Methods from IlvFacesProxy |
| Inherited Methods from IlvPropertyStateManager |
| Inherited Methods from IlvObject |
| PREV CLASS Documentation homepage. NEXT CLASS |