public interface IlvChartServerAction extends EventListener
IlvChartServerAction
interface should be implemented by objects
that need to be notified of named actions 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.
An IlvChartServerAction
can be executed either in the request
thread, or in the swing event dispatch thread, depending on the value returned
by getExecutionThread()
.Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_THREAD
The constant for actions executed in the request thread
|
static int |
SWING_EVENT_THREAD
The constant for actions executed in the Swing Event thread
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(IlvChartServerActionEvent event)
Performs the action requested from the client side.
|
int |
getExecutionThread()
Returns the execution thread for this action.
|
static final int SWING_EVENT_THREAD
static final int REQUEST_THREAD
void actionPerformed(IlvChartServerActionEvent event) throws jakarta.servlet.ServletException
getExecutionThread()
method.event
- The server action event.jakarta.servlet.ServletException
int getExecutionThread()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.