public class IltFacesObjectSelectActionListener extends Object implements ServerActionListener
This class implements a server action listener that is invoked by the
clientSelectInteractor
tag to process object selection
and actions.
By default this listener will check for the supported object actions. If no actions are supported, it will perform regular single or multiple selection. The supported object actions are:
The default object action behavior is implemented by the
IltFacesDefaultObjectAction.performObjectAction(IlpGraphView, int, int)
method.
The user may override or extend the object action behavior by setting
a method binding to the objectActionMethodBinding
tag
attribute of the clientSelectInteractor
tag. The method
binding should have the following signature:
boolean method_name(IlpGraphView view, int xPos, int yPos)
Where:
method_name
is the method nameview
is the graph view containing the objectxPos
is the x component of the clicked pointyPos
is the y component of the clicked pointIf the method returns true
, no selection will be processed
and a new image will be generated.
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_NAME |
Constructor and Description |
---|
IltFacesObjectSelectActionListener()
Creates a new
IltFacesObjectSelectActionListener instance. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ServerActionEvent event)
Checks if there is a user defined method binding to be invoked.
|
public static final String ACTION_NAME
public IltFacesObjectSelectActionListener()
IltFacesObjectSelectActionListener
instance.public void actionPerformed(ServerActionEvent event) throws javax.servlet.ServletException
IltFacesDefaultObjectAction.processObjectAction
is executed.actionPerformed
in interface ServerActionListener
event
- The server event containing information about this action.javax.servlet.ServletException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.