IlvObject | +--IlvEmptyView | +--IlvResizableView | +--IlvAbstractView | +--IlvGanttComponentView | +--IlvGanttChartView
IlvGanttChartView
is a DHTML component that displays an image
of an entire Gantt chart. 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 |
---|---|
IlvGanttChartView(left, top, width, height, reload, namespace)
|
Method Attributes | Method Name and Description |
---|---|
Creates the HTTP request for capabilities.
|
|
Returns the current time interval displayed by the chart.
|
|
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. |
|
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
.
IlvGanttChartView
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 IlvGanttChartView(..., window.name);
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
.