public class IlvFacesGanttSheetSelectionSupport extends IlvGanttSheetSelectionSupport
IlvSelectionSupport
implementation dedicated
to the JavaServer Faces Gantt Sheet component.IlvSelectionSupport.IlvSelectionResponse
HIERARCHY_CHART_KEY, LAST_SELECTED_OBJECT_KEY, VIEW_BBOX_KEY
REQUEST_TYPE
Constructor and Description |
---|
IlvFacesGanttSheetSelectionSupport(IlvGanttServletSupport support)
Creates a new
IlvFacesGanttSheetSelectionSupport 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 IlvFacesGanttSheetSelectionSupport(IlvGanttServletSupport support)
IlvFacesGanttSheetSelectionSupport
instance.support
- The gantt servlet support.protected List getAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response, Object object)
getAdditionalProperties
in class IlvGanttSheetSelectionSupport
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.