IlvObject | +--IlvPropertyStateManager | +--IlvFacesProxy | +--IlvSizedViewProxy | +--IlvBasicViewProxy | +--IlvChartViewProxy
IlvChartViewProxy
is the proxy that handles an IlvChartView
DHTML
object.Constructor Attributes | Constructor Name and Description |
---|---|
IlvChartViewProxy(clientId, refNodeId, width, height, state)
|
Method Attributes | Method Name and Description |
---|---|
addCapabilitiesLoadListener(listener)
Adds a listener to be called when the capabilities have been loaded.
|
|
Internal implementation.
|
|
Returns the background color of the generated image, if defined.
|
|
Returns the chart component to be displayed, if defined.
|
|
Returns the identifier of the data source to be displayed, if defined.
|
|
Returns the visible window.
|
|
Returns the message displayed when an error occurs while the image is loading.
|
|
Returns the image map generator.
|
|
Returns the current interactor set on this view.
|
|
Internal implementation.
|
|
Returns the maximum zoom level available on the server side.
|
|
getPopupMenu(popupMenu)
Returns the specified contextual pop-up menu set on this view.
|
|
Returns a chart designer project URL.
|
|
Internal Implementation.
|
|
Returns the style sheet (inline or URL).
|
|
Returns the list of comma separated style sheets.
|
|
getType()
Returns the type of the chart, if set.
|
|
Returns the automatic update interval of the view.
|
|
Returns the visible window.
|
|
Returns the visible range along the x-axis.
|
|
Returns the factor used when calling the
zoomIn and
zoomOut methods on the x-axis. |
|
Returns the visible range along the y-axis.
|
|
Returns the factor used when calling the
zoomIn and
zoomOut methods on the y-axis. |
|
IlvChartViewProxy.
imageLoaded(chart)
Internal implementation.
|
|
Returns a Boolean indicating whether the component is generating an image map in addition to
the image.
|
|
Returns the image map layer visibility.
|
|
isResizable(resizable)
Returns whether the managed view is resizable or not.
|
|
performAction(actionName, params, udpateImage)
Performs an action on the server side.
|
|
performJSFAction(mb, params, udpateImage)
Performs a predefined action that invokes the specified method binding.
|
|
removeAdditionalParameter(name, updateImage)
Removes an additional parameter previously added with the
setAdditionalParameters method. |
|
removeCapabilitiesLoadListener(listener)
Removes a listener installed with
addCapabilitiesLoadListener . |
|
Resets the visible range and data range.
|
|
IlvChartViewProxy.
restoreState(chart)
Internal implementation.
|
|
IlvChartViewProxy.
saveState(chart)
Internal implementation.
|
|
setAccessible(accessible)
Sets whether the managed view is accessible or not.
|
|
setAdditionalParameters(name, value, updateImage)
Installs an additional request parameter that will be added to all
requests.
|
|
setBackgroundColor(background, updateImage)
Sets the background color of the generated image.
|
|
setComponent(component, updateImage)
Sets the component type to be displayed.
|
|
setDataSourceId(dataSourceId, updateImage)
Sets the identifier of the data source to be displayed by the chart.
|
|
setErrorMessage(errMsg)
Sets the message displayed when an error occurs while the image is loading.
|
|
setGenerateImageMap(set, update)
Instructs the component to generate an image map in addition to the image.
|
|
setHotkeys(hotkeys)
Sets the keyboard hotkeys for the view.
|
|
setImageMapGenerator(imageMapGenerator)
Sets the image map generator.
|
|
setImageMapVisible(visible)
Sets the image map layer visibility.
|
|
setInteractor(interactor)
Sets the current interactor on this view.
|
|
setLegend(legend)
Internal implementation.
|
|
setOnCapabilitiesLoaded(evtListener)
Sets the JavaScript code that will be executed when the capabilities
are loaded.
|
|
setOnImageLoaded(evtListener)
Sets the JavaScript code that will be executed when the image
is loaded.
|
|
setOverview(overview)
Internal implementation.
|
|
setPopupMenu(popupMenu)
Sets the specified contextual pop-up menu on this view.
|
|
setProject(project, updateImage)
The URL to a chart designer project.
|
|
setResizable(resizable)
Sets whether the managed view is resizable or not.
|
|
setStateURL(state)
Internal implementation.
|
|
setStyleSheet(styleSheet, updateImage)
Sets the cascading style sheets.
|
|
setStyleSheets(styleSheets, updateImage)
Sets the comma separated cascading style sheets.
|
|
setType(type, updateImage)
Sets the type of the chart to be displayed in this view.
|
|
setUpdateInterval(rate)
Changes the automatic update interval of the view.
|
|
setVisibleWindow(xMin, xMax, yMin, yMax)
Sets the visible window.
|
|
setXVisibleRange(newMin, newMax)
Sets the visible range along the x-axis and updates the image.
|
|
setXZoomFactor(factor)
Changes the factor used when calling the
zoomIn and
zoomOut methods on the x-axis. |
|
setYVisibleRange(newMin, newMax)
Sets the visible range along the y-axis and updates the image.
|
|
setYZoomFactor(factor)
Changes the factor used when calling the
zoomIn and
zoomOut methods on the y-axis. |
|
Starts the update timer that will query another image after a time
interval.
|
|
Stops the update timer.
|
|
translateX(delta)
Translates the chart area along the x-axis.
|
|
translateY(delta)
Translates the chart area along the y-axis.
|
|
updateImage(updateCapabilities)
Updates the chart image.
|
|
zoomBy(xFactor, yFactor)
Zooms the view to a specified factor by querying a new image from the server.
|
|
zoomInX()
Zooms the view along the x-axis by querying a new image from the server.
|
|
zoomInY()
Zooms the view in along the y-axis by querying a new image from the server.
|
|
zoomOutX()
Zooms the view out along the x-axis by querying a new image from the server.
|
|
zoomOutY()
Zooms the view out along the y-axis by querying a new image from the server.
|
|
Queries a new image showing all the data available from the the servlet that generates the image.
|
getImageFormat, getMessageBox, getServletClass, getServletURL, getWaitingImage, init, setImageFormat, setMessageBox, setServletClass, setServletURL, setWaitingImage |
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 |
view: The IlvChartView
.
generateImageMap
property is true,zoomIn
and
zoomOut
methods on the x-axis.
zoomIn
and
zoomOut
methods on the y-axis.
IlvChartServerAction
interface and register the
action with an instance of IlvChartServletSupport
. An action is
defined by a name and a list of parameters.
true
to update the capabilities and the image,
false
to update just the capabilities.
This action is executed before the image generation.
The signature of the method must be void methodName (IlvChart, String[])
where
the first parameter is the IlvChart
instance used to draw the chart and the second
parameter is the array of action parameters.
The action must only change the IlvChart
instance as only the image is refreshed (the JSF components are not).
true
to update capabilities and the image,
false
to update just the capabilities.
setAdditionalParameters
method.
addCapabilitiesLoadListener
.
removeParameter
method.
Installed parameters will be appended as
&key=value
to all requests.
true
if the image is to be updated, false
otherwise.
generateImageMap
property is true,null
to remove the current interactor.
updateImage
flag is set to true
, a new image will be requested. Note that this method will reinitialize the scales and the grids of the server side chart.
setStyleSheet(styleSheet, updateImage)
method.
zoomIn
and
zoomOut
methods on the x-axis.
The default value is 2.
zoomIn
and
zoomOut
methods on the y-axis.
The default value is 2.
setXZoomFactor()
method.
setYZoomFactor()
method.