public class ServerActionEvent extends IlvServerActionEvent
ServerActionListener.actionPerformed
method
is called. This method queries the server for a new image, but
additional parameters are sent in the image request so that
an action such as adding, removing, or selecting objects can be
performed before the image is generated. An action is
defined by a name and a list of parameters. To implement
the action on the client side, you will implement the ServerActionListener
interface
and check the action name and parameters in the event._params
source
Constructor and Description |
---|
ServerActionEvent(javax.servlet.http.HttpServletRequest request,
IlvManagerView view,
String action,
IlvManagerServletSupport support,
String[] params)
Creates an action event.
|
ServerActionEvent(javax.servlet.http.HttpServletRequest request,
IlvManagerView view,
String action,
String[] params)
Deprecated.
Beginning with JViews 8.0 use
ServerActionEvent(HttpServletRequest, IlvManagerView, String, IlvManagerServletSupport, String[]) instead. |
Modifier and Type | Method and Description |
---|---|
IlvManagerView |
getManagerView()
Returns the manager view to which the action applies.
|
IlvPoint |
getPointParameter(int index)
Returns an
IlvPoint parameter at the specified index. |
IlvRect |
getRectParameter(int index)
Returns an
IlvRect parameter at the specified index. |
IlvManagerServletSupport |
getServletSupport()
Returns the
IlvManagerServletSupport that created that
event. |
getActionName, getDoubleParameter, getFloatParameter, getIntParameter, getLongParameter, getParameterCount, getParameters, getRequest, getResponse, getStringParameter
getSource, toString
@Deprecated public ServerActionEvent(javax.servlet.http.HttpServletRequest request, IlvManagerView view, String action, String[] params)
ServerActionEvent(HttpServletRequest, IlvManagerView, String, IlvManagerServletSupport, String[])
instead.public ServerActionEvent(javax.servlet.http.HttpServletRequest request, IlvManagerView view, String action, IlvManagerServletSupport support, String[] params)
public IlvManagerView getManagerView()
public IlvManagerServletSupport getServletSupport()
IlvManagerServletSupport
that created that
event.public IlvPoint getPointParameter(int index) throws javax.servlet.ServletException
IlvPoint
parameter at the specified index.
This utility method reads two double parameters starting at index
and creates an IlvPoint
.index
- The parameter index.javax.servlet.ServletException
public IlvRect getRectParameter(int index) throws javax.servlet.ServletException
IlvRect
parameter at the specified index.
This utility method reads four double parameters starting at index
and creates an IlvRect
.index
- The parameter index.javax.servlet.ServletException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.