public class IlvChartServerActionEvent extends IlvServerActionEvent
ServerActionEvent
is sent to all IlvChartServerAction
s
that are registered on the server side when an action is requested from the
client. The client queries the server for a new image with additional parameters
appended to the request (in the form &action=actionName(arg1,arg2,...)
),
so that an action such as adding, removing, or highlighting data points
can be performed before the image is generated. You create an action on the
server side by implementing this interface and registering your implementation
by calling the IlvChartServletSupport.addServerAction(java.lang.String, ilog.views.chart.servlet.IlvChartServerAction)
method._params
source
Constructor and Description |
---|
IlvChartServerActionEvent(IlvChartServletSupport support,
jakarta.servlet.http.HttpServletRequest request,
IlvChart chart,
String action,
String[] params)
Creates a new action event.
|
Modifier and Type | Method and Description |
---|---|
IlvChart |
getChart()
Returns the chart to which the action applies.
|
IlvChartServletSupport |
getServletSupport()
Returns the servlet support origin of the event.
|
Object |
getSource() |
getActionName, getDoubleParameter, getFloatParameter, getIntParameter, getLongParameter, getParameterCount, getParameters, getRequest, getResponse, getStringParameter
toString
public IlvChartServerActionEvent(IlvChartServletSupport support, jakarta.servlet.http.HttpServletRequest request, IlvChart chart, String action, String[] params)
support
- The IlvChartServletSupport
that fired the eventrequest
- 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 Object getSource()
getSource
in class EventObject
public IlvChartServletSupport getServletSupport()
public IlvChart getChart()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.