public class ServerActionEvent extends IlvServerActionEvent
ServerActionEvent
is sent to all IlvServerAction
s
that are registered on the server side when an action is requested from the
client. An action is generated from the client side when the
IlvGanttComponentView.performAction()
method is called. The
performAction
method queries the server for a new image with
additional parameters appended to the request so that an action such as
adding, removing, or selecting objects can be performed before the image is
generated. You register an IlvServerAction
on the server side by
calling the IlvGanttServletSupport.addServerAction(java.lang.String, ilog.views.gantt.servlet.IlvServerAction)
method._params
source
Constructor and Description |
---|
ServerActionEvent(javax.servlet.http.HttpServletRequest request,
IlvHierarchyChart chart,
String action,
IlvGanttServletSupport support,
String[] params)
Creates a new action event.
|
ServerActionEvent(javax.servlet.http.HttpServletRequest request,
IlvHierarchyChart chart,
String action,
String[] params)
Deprecated.
Beginning with JViews 8.0, use
ServerActionEvent(HttpServletRequest, IlvHierarchyChart, String,
IlvGanttServletSupport, String[]) instead. |
Modifier and Type | Method and Description |
---|---|
IlvHierarchyChart |
getChart()
Returns the chart to which the action applies.
|
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the request origin of the action.
|
IlvGanttServletSupport |
getServletSupport()
Returns the
IlvGanttServletSupport that created the event. |
getActionName, getDoubleParameter, getFloatParameter, getIntParameter, getLongParameter, getParameterCount, getParameters, getResponse, getStringParameter
getSource, toString
@Deprecated public ServerActionEvent(javax.servlet.http.HttpServletRequest request, IlvHierarchyChart chart, String action, String[] params)
ServerActionEvent(HttpServletRequest, IlvHierarchyChart, String,
IlvGanttServletSupport, String[])
instead.request
- The current HTTP request.chart
- The chart to which the action applies.action
- The name of the action.params
- The array of action parameters.public ServerActionEvent(javax.servlet.http.HttpServletRequest request, IlvHierarchyChart chart, String action, IlvGanttServletSupport support, String[] params)
request
- The current HTTP request.chart
- The chart to which the action applies.action
- The name of the action.support
- The IlvGanttServletSupport
that created the
event.params
- The array of action parameters.public javax.servlet.http.HttpServletRequest getRequest()
getRequest
in class IlvServerActionEvent
public IlvHierarchyChart getChart()
public IlvGanttServletSupport getServletSupport()
IlvGanttServletSupport
that created the event.IlvGanttServletSupport
that created the event.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.