Skip to main content
PREV CLASS NEXT CLASS FRAMES NO FRAMES

 

Class IlvRowSelectInteractor

IlvObject
   |
   +--IlvInteractor
      |
      +--IlvRowSelectInteractor

Category:
Gantt Chart component
JavaScript File:
IlvRowSelectInteractor.js
Description:
An IlvRowSelectInteractor works with an IlvRowSelectAction on the server side to select rows in an IlvGanttComponentView. You should create the interactor on the client side with the same action name that you use to register the IlvRowSelectAction on the server side.

Constructor Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Returns whether the interactor requests new capabilities from the server.
 
Handles mouse down events.
 
Sets whether the interactor requests new capabilities from the server.
 
setView(view)
This method is automatically invoked when the interactor is installed.
Methods inherited from class IlvInteractor
getCursor, getMenuModelId, getMessage, getView, setCursor, setMenuModelId, setMessage
Methods inherited from class IlvObject
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility
Constructor Detail
IlvRowSelectInteractor
IlvRowSelectInteractor(actionName)
Parameters:
actionName - The action name that the interactor will use to send requests to the server. This should be the same as the actionName when you call the IlvGanttServletSupport.addServerAction() method to register the IlvRowSelectAction on the server side.

Selecting a row does not modify any of the standard capabilities of the servlet. Therefore, by default this interactor requests an updated image from the servlet after the row selection is performed. If your servlet implementation generates custom capabilities that are dependent on row selection, you can enable the interactor to request new capabilities by calling the setUpdateCapabilities method.

Method Detail
isUpdateCapabilities
isUpdateCapabilities()
Returns whether the interactor requests new capabilities from the server. The default value is false.

mouseDown
mouseDown(e)
Handles mouse down events.
Parameters:
e - The mouse event.

setUpdateCapabilities
setUpdateCapabilities(set)
Sets whether the interactor requests new capabilities from the server. The default value is false.
Parameters:
set - Set whether to update the capabilities.

setView
setView(view)
This method is automatically invoked when the interactor is installed.
Parameters:
view - The view to set.

©Copyright Rogue Wave Software Inc. 1997, 2018. All Rights Reserved.