IlvObject | +--IlvEmptyView | +--IlvResizableView | +--IlvAbstractView | +--IlvGanttComponentView | +--IlvGanttSheetView
IlvGanttSheetView
is a DHTML component that displays an image
of a Gantt sheet. 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 |
---|---|
IlvGanttSheetView(left, top, width, height, reload, namespace)
|
Method Attributes | Method Name and Description |
---|---|
Creates the HTTP request for capabilities.
|
|
Returns the
IlvGanttSheetSelectionManager for this view. |
|
Returns the current time interval displayed by the sheet.
|
|
Returns the factor used when calling the
zoomIn and
zoomOut methods. |
|
scrollTo(startTime, y)
Queries a new image showing the image scrolled to the specified position.
|
|
scrollToDay(date, delta)
Queries a new image showing the specified day.
|
|
scrollToMonth(date, delta)
Queries a new image showing the specified month.
|
|
scrollToWeek(date, delta)
Queries a new image showing the specified week.
|
|
scrollToYear(date, delta)
Queries a new image showing the specified year.
|
|
setVisibleInterval(startTime, endTime)
Queries a new image showing the specified time interval.
|
|
setZoomFactor(factor)
Sets the factor used when calling the
zoomIn and
zoomOut methods. |
|
Queries the server for a new image.
|
|
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.
|
|
Zooms the view to fit the data by querying a new image from the server.
|
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
.
IlvGanttSheetView
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 IlvGanttSheetView(..., window.name);
IlvGanttSheetSelectionManager
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.
start
and end
are
Date
values that give the start and end of the time interval.
The third property is duration
. It is an integer value that
gives the interval duration in milliseconds.
zoomIn
and
zoomOut
methods.
Date
.
Date
object that specifies the day to be
displayed.
Date
object that specifies the month to be
displayed.
Date
object that specifies the week to be
displayed.
Date
object that specifies the year to be
displayed.
Date
.
Date
.
zoomIn
and
zoomOut
methods.
The default value is 1.5
.