IlvObject | +--IlvEmptyView | +--IlvResizableView | +--IlvAbstractView | +--IlvChartComponentView
IlvChartComponentView
is the abstract class for chart DHTML
components that display an image and/or an image map obtained from a server.
The image is generated from an IlvChartServlet
running on the
server. You must call the setServletURL()
method to set the URL
of the servlet.Constructor Attributes | Constructor Name and Description |
---|---|
IlvChartComponentView(left, top, width, height, reload, namespace)
|
Method Attributes | Method Name and Description |
---|---|
addErrorListener(listener)
Adds a listener to be called when an error occurs during the current request
to the server.
|
|
addTimeoutErrorListener(listener)
Adds a listener to be called when a time-out has occurred during the current
request to the server.
|
|
createHitmapRequestURL(width, height)
Creates the URL for requesting a hitmap.
|
|
createImageMapRequestURL(width, height)
Creates the URL for generating an image map.
|
|
createImageRequestURL(width, height)
Creates the URL for the image request.
|
|
Returns a time stamp parameter for the requests.
|
|
Indicates if the new images will be revealed by fading the previous image.
|
|
Returns the displayed component.
|
|
Returns the background color of the generated image, or
null if not
specified. |
|
Returns the format of the images generated from the server.
|
|
Returns the image height.
|
|
Returns the scroll position of this view's image on the client side.
|
|
Returns the image width.
|
|
Returns the message panel where the messages will be displayed.
|
|
Returns the
IlvRectangle object that can be used to draw a
rectangle on the view. |
|
Returns the URL to be used to create the request
as set using
setServletURL . |
|
Returns the time-out interval for requests to the server, in seconds.
|
|
Returns the URL of the image used to show that the component is waiting for a
server response.
|
|
Hides the image map layer.
|
|
This method is automatically invoked when the image has been loaded
from the server.
|
|
imageMapUpdated(viewName)
Called when the image map was loaded.
|
|
Returns whether the component is generating an image map in addition to
the image.
|
|
Returns the image map layer visibility.
|
|
removeErrorListener(listener)
Removes a listener installed with
addErrorListener . |
|
removeTimeoutErrorListener(listener)
Removes a listener installed with
addTimeoutErrorListener . |
|
Resets the error handler.
|
|
setBlendTransform(set)
Indicates if the new images will be revealed by fading the previous image.
|
|
setChildrenBounds(left, top, width, height)
Changes the size of this view children.
|
|
setComponent(component)
Sets the displayed component.
|
|
setGenerateImageMap(set)
Tells the component to generate an image map in addition to the image.
|
|
setImageBackgroundColor(color)
Sets the background color of the generated image.
|
|
setImageFormat(format)
Sets the format of the images generated from the server.
|
|
setImageMapVisible(visible)
Sets the image map layer visibility.
|
|
setImageScrollPosition(x, Y)
Sets the scroll position of this view image on the client side.
|
|
setMessagePanel(ilvHTMLPanel)
Sets the message panel where the message will be displayed
|
|
setServletURL(servletURL)
Sets the URL to be used to create the request.
|
|
setTimeoutErrorInterval(interval)
Sets the time-out interval for requests to the server.
|
|
setWaitingImage(image)
Sets the URL of the image used to show that the component is waiting for a
server response.
|
|
Shows the image map layer.
|
|
Starts a timer for errors.
|
|
Stops the error timer.
|
|
This method is automatically invoked when a time-out error occurs during
a request to the server.
|
|
Updates the hitmap from the server.
|
|
Queries a new image from the server.
|
|
Asks the server to regenerate an image map from the URL returned by
createImageMapRequestURL . |
childrenToHTML, getCursor, getGlassView, getHitInfos, getHitInfoTypes, getInteractor, keyPress, mouseDown, mouseDrag, mouseMove, mouseOut, mouseOver, mouseUp, putHitInfoType, setAccessible, setAdditionalParameters, setCursor, setHitmapLayers, setInteractor, setScrollBarSize, setScrollBarState |
getMaximumSize, getMinimumSize, isResizable, setHotkeys, setMaximumSize, setMinimumSize, setResizable, toHTML |
addSizeListener, getBounds, getHeight, getLeft, getLocation, getSize, getTop, getWidth, isStateInCookie, removeSizeListener, restoreState, saveState, setBounds, setLocation, setSize, setStateInCookie |
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
false
.
IlvView
s in multiple browser windows,
or in multiple frames of a frameset and the views must store cookies that
should not conflict with each other. In this case, use the namespace to
identify uniquely the views that belong to a specific browser window or frameset frame.
For example, if you have created a new window with a unique name:
you can then use the window name to define the namespace for views within the child page:open(childPageURL, uniqueWindowName, ...);
var view = new IlvXXXXView(..., window.name);
view: The IlvChartComponentView
.
view: The IlvChartComponentView
.
null
if not
specified.
IlvRectangle
object that can be used to draw a
rectangle on the view. This method is especially useful for interactors that
can display the interaction using this rectangle.
setServletURL
.
IlvChartView
.
addErrorListener
.
addTimeoutErrorListener
.
IlvChartView
internal implementation
and is not a public API.
IlvHTMLPanel
.
createImageMapRequestURL
.