public class IlvFacesGanttTableSelectionSupport extends IlvGanttTableSelectionSupport
IlvSelectionSupport
implementation dedicated
to the JavaServer Faces Gantt Table component.IlvSelectionSupport.IlvSelectionResponse
HIERARCHY_CHART_KEY, LAST_SELECTED_OBJECT_KEY, VIEW_BBOX_KEY
REQUEST_TYPE
Constructor and Description |
---|
IlvFacesGanttTableSelectionSupport(IlvGanttServletSupport support)
Creates a new
IlvFacesGanttTableSelectionSupport instance. |
Modifier and Type | Method and Description |
---|---|
protected List |
getAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response,
Object object)
Returns additional information about a selected object.
|
protected List |
setAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response,
Object object,
List list)
This method is called to set properties on an
Object following
a client-side request. |
doGetDeselectAll, doGetSelectAll, doGetSelectOne, doGetSelectOneById, doGetSelectOneMultiple, doGetSelectOneMultipleById, doGetUpdateAll, imageModeActionPerformed, initializeResponseProperties, moveSelectionActionPerformed, selectObjectActionPerformed
doPostSetProperties, getSupport, installListeners, removeListeners
doGetUpdatedCapabilities, getLastSelectedObject, handleRequest, isResizable, setLastSelectedObject
public IlvFacesGanttTableSelectionSupport(IlvGanttServletSupport support)
IlvFacesGanttTableSelectionSupport
instance.support
- The gantt servlet support.protected List getAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response, Object object)
getAdditionalProperties
in class IlvGanttTableSelectionSupport
response
- The selection response object.object
- The object selected or deselected.String
, an
array, a List
or Map
.
List
and arrays are rendered as JSON arrays on the
client and Map
are rendered as JSON objects on the
client.
Note that the two first objects must be:
ID
-- A unique identifier of the selected object.Movable
-- true
if this object is
movable, false
otherwise.Type
-- the type of the selected object.
protected List setAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response, Object object, List list)
Object
following
a client-side request.
This is achieved using the
IlvFacesGanttPropertyAccessor
set on the
IlvFacesGanttSelectionManager
.setAdditionalProperties
in class IlvSelectionSupport
response
- The response.object
- The object to set properties on.list
- The List
of additional information on a
selected object.List
of error descriptors to send back to the
client.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.