IlvObject | +--IlvEmptyView | +--IlvResizableView | +--IlvGanttView
IlvGanttView
is a DHTML component that displays an
image of a Gantt chart that 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 |
---|---|
IlvGanttView(left, top, width, height, reload, namespace)
|
Method Attributes | Method Name and Description |
---|---|
childrenToHTML(parentNode)
Creates the HTML for this component's children.
|
|
Returns the location of the divider as the number of pixels from the left
side of the view.
|
|
Returns the image format that the server will use for responses to this view.
|
|
Returns the maximum location of the divider.
|
|
Returns the maximum vertical scroll position.
|
|
Returns the message panel where the messages will be displayed.
|
|
Returns the minimum location of the divider.
|
|
Returns the pop-up menu on set this view.
|
|
Returns the URL of the servlet as set using
setServletURL . |
|
Returns the extent of the move when one click on the background of the horizontal scrollbar.
|
|
Returns this Gantt view's
IlvGanttSheetView child view. |
|
Returns this Gantt view's
IlvGanttTableView child view. |
|
Returns the timeout interval for requests to the server, in seconds.
|
|
Returns the automatic update interval of the view, in seconds.
|
|
Returns the vertical scroll position of the chart.
|
|
Returns the current time interval displayed by the sheet.
|
|
Returns the URL of the image used to show that the component is waiting for a
server response.
|
|
Returns the factor used when calling the
zoomIn and
zoomOut methods. |
|
init()
Initializes the view.
|
|
Returns whether sheet horizental scrollbar is scrollable.
|
|
Returns whether sheet vertical scrollbar is scrollable.
|
|
Removes an additional parameter in both the table view and the sheet view.
|
|
Resets the timer that will invoke the session expiration handler.
|
|
scrollTo(startTime, y)
Queries a new image showing the sheet 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.
|
|
setAccessible(accessible)
Set whether this view is accessible or not.
|
|
setAdditionalParameters(key, value)
Sets the additional parameters on both the table view and the sheet view.
|
|
setChildrenBounds(left, top, width, height)
Changes the size of this view's children.
|
|
setDividerLocation(location)
Sets the location of the divider as the number of pixels from the left
side of the view.
|
|
setHotkeys(hotkeys)
|
|
setImageFormat(format)
Sets the image format that the server will use for responses to this view.
|
|
setMessagePanel(ilvHTMLPanel)
Sets the message panel where the message will be displayed.
|
|
setPopupMenu(pop-up)
Sets the pop-up menu on this view.
|
|
setScrollBarSize(scrollBarSize)
Sets the size of scroll bar.
|
|
setServletURL(servletURL)
Sets the URL of the servlet that the view will send requests to.
|
|
setSessionExpirationHandler(handler)
Sets a listener that will be called when the HTTP session is about to be invalidated.
|
|
setSheetHScrollable(scrollable)
Sets sheet view can scroll horizontally by horizon scrollbar or not.
|
|
Sets the extent of the move when one click on the background of the horizontal scrollbar.
|
|
setSheetVisible(visible)
Set gantt sheet view to be visible or not.
|
|
setSheetVScrollable(scrollable)
Sets sheet view can scroll vertically by vertical scrollbar or not.
|
|
setSplitterArrowsVisible(visible)
Sets the arrows of splitter of gantt view visible or not,
these arrows are used for set table and sheet visible.
|
|
setTableVisible(visible)
Set gantt table view to be visible or not.
|
|
setTimeoutErrorInterval(interval)
Sets the timeout interval for requests to the server.
|
|
setUpdateInterval(rate)
Sets the automatic update interval of the view.
|
|
Queries a new image showing the chart scrolled to the specified vertical
position.
|
|
setVisibleInterval(startTime, endTime)
Queries a new image showing the specified time interval.
|
|
setWaitingImage(image)
Sets the URL of the image used to show that the component is waiting for a
server response.
|
|
setZoomFactor(factor)
Sets the factor used when calling the
zoomIn and
zoomOut methods. |
|
Queries new capabilities and a new images from the server.
|
|
Queries the server for new images.
|
|
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.
|
getMaximumSize, getMinimumSize, isResizable, 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
.
IlvGanttView
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 IlvGanttView(..., window.name);
IlvGanttView
's internal
implementation and is not a public API.
setServletURL
.
IlvGanttSheetView
child view.
IlvGanttTableView
child view.
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.
IlvConstants.ilvImagePath + "wait.gif"
, where
IlvConstants.ilvImagePath = "script/images/"
.
zoomIn
and
zoomOut
methods.
onLoad
event of the page
containing the view.
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.
IlvGanttView
's internal implementation and is not a public API.
IlvGanttServletSupport.setImageEncoder
IlvHTMLPanel
.
This method works if and only if the session inactivity is reset by a JViews request. If the session inactivity is reset by an external request, the #resetSessionExpirationTimer method must be called.
This method must be called before the capabilities request is made.
true
if change the visible state,
false
if not change the visible state.true
if change the visible state,
false
if not change the visible state.Date
.
Date
.
IlvConstants.ilvImagePath + "wait.gif"
, where
IlvConstants.ilvImagePath = "script/images/"
.
zoomIn
and
zoomOut
methods.
The default value is 1.5.