IlvObject | +--IlvEmptyView | +--IlvResizableView | +--IlvAbstractView | +--IlvGanttComponentView | +--IlvGanttTableView
IlvGanttTableView
is a DHTML component that displays an image
of a Gantt chart table. The image is obtained from an
IlvGanttServlet
running on the server. You must call the
setServletURL()
method to set the URL of the servlet.Constructor Attributes | Constructor Name and Description |
---|---|
IlvGanttTableView(left, top, width, height, reload, namespace)
|
Method Attributes | Method Name and Description |
---|---|
addHorizontalScrollListener(listener)
Adds a listener to be called when the image has scrolled horizontally.
|
|
Creates the HTTP request for capabilities.
|
|
createImageRequestURL(imageWidth, imageHeight)
Creates the URL for the image request.
|
|
Returns the horizontal scroll position of the image.
|
|
Returns the maximum horizontal scroll position.
|
|
Returns the
IlvGanttTableSelectionManager for this view. |
|
scrollTo(x, y)
Scrolls the table to the specified positions.
|
|
Sets the horizontal scroll positions.
|
|
Trims the view's current scroll values to be within the valid ranges
determined by the capabilities.
|
getCursor, getGlassView, getHitInfos, getHitInfoTypes, getInteractor, 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 |
getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
false
.
IlvGanttTableView
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 uniquely identify 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 IlvGanttTableView(..., window.name);
IlvGanttTableView
.IlvGanttTableSelectionManager
for this view.
This manager allows to prevent an image query on each selection. It queries the server for selection updates and displays rectangles to represent the selection.
The most common use of this method are:
The selection manager is lazilly created. As a consequence, the current server selection is not shown on the client before a first call to this method.