public class IlvFacesGanttSelectionSupport extends IlvGanttSelectionSupport
IlvSelectionSupport implementation dedicated
to the JavaServer Faces Gantt component.IlvGanttSelectionSupport.DefaultIdentifierFactory, IlvGanttSelectionSupport.IdentifierFactoryIlvSelectionSupport.IlvSelectionResponseACTIVITY_OBJECT_TYPE, CONSTRAINT_OBJECT_TYPE, RESERVATION_OBJECT_TYPE, RESOURCE_OBJECT_TYPEREQUEST_TYPE| Constructor and Description |
|---|
IlvFacesGanttSelectionSupport(IlvGanttServletSupport support)
Creates a new
IlvFacesGanttSelectionSupport instance. |
| Modifier and Type | Method and Description |
|---|---|
protected IlvGanttSheetSelectionSupport |
createGanttSheetSelectionSupport()
Creates the selection support for the Gantt sheet component.
|
protected IlvGanttTableSelectionSupport |
createGanttTableSelectionSupport()
Creates the selection support for the Gantt table component.
|
protected IlvServerAction |
createImageModeAction()
Creates the server action that handles changing the representation mode for
the selection.
|
protected IlvServerAction |
createMoveSelectionAction()
Creates the server action that handles moving the selected objects.
|
protected IlvServerAction |
createSelectObjectAction()
Creates the server action that handles selecting objects.
|
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. |
cacheObjectId, createResizeActivityAction, doGetSelectOne, doGetSelectOneMultiple, doGetUpdateAll, getDelegate, getIdentifier, getIdentifierFactory, getObject, getObject, getSupport, handleRequest, installListeners, removeListeners, setIdentifierFactorydoGetDeselectAll, doGetSelectAll, doGetSelectOneById, doGetSelectOneMultipleById, doGetUpdatedCapabilities, doPostSetProperties, getLastSelectedObject, initializeResponseProperties, isResizable, setLastSelectedObjectpublic IlvFacesGanttSelectionSupport(IlvGanttServletSupport support)
IlvFacesGanttSelectionSupport instance.support - The gantt servlet support.protected IlvGanttSheetSelectionSupport createGanttSheetSelectionSupport()
createGanttSheetSelectionSupport in class IlvGanttSelectionSupportprotected IlvGanttTableSelectionSupport createGanttTableSelectionSupport()
createGanttTableSelectionSupport in class IlvGanttSelectionSupportprotected List getAdditionalProperties(IlvSelectionSupport.IlvSelectionResponse response, Object object)
getAdditionalProperties in class IlvGanttSelectionSupportresponse - 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 IlvSelectionSupportresponse - 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.protected IlvServerAction createImageModeAction()
createImageModeAction in class IlvGanttSelectionSupportprotected IlvServerAction createSelectObjectAction()
createSelectObjectAction in class IlvGanttSelectionSupportprotected IlvServerAction createMoveSelectionAction()
createMoveSelectionAction in class IlvGanttSelectionSupport© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.