ilog.tgo.faces.graph.dhtml.event
Class IltFacesObjectSelectActionListener

java.lang.Object
  extended by ilog.tgo.faces.graph.dhtml.event.IltFacesObjectSelectActionListener
All Implemented Interfaces:
ServerActionListener, EventListener

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: If the method returns true, no selection will be processed and a new image will be generated.

Since:
JViews 7.5

Field Summary
static String ACTION_NAME
           
 
Constructor Summary
IltFacesObjectSelectActionListener()
          Creates a new IltFacesObjectSelectActionListener instance.
 
Method Summary
 void actionPerformed(ServerActionEvent event)
          Checks if there is a user defined method binding to be invoked.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_NAME

public static final String ACTION_NAME
See Also:
Constant Field Values
Internal method or field: do not use!
Constructor Detail

IltFacesObjectSelectActionListener

public IltFacesObjectSelectActionListener()
Creates a new IltFacesObjectSelectActionListener instance.

Method Detail

actionPerformed

public void actionPerformed(ServerActionEvent event)
                     throws javax.servlet.ServletException
Checks if there is a user defined method binding to be invoked. If not, IltFacesDefaultObjectAction.processObjectAction is executed.

Specified by:
actionPerformed in interface ServerActionListener
Parameters:
event - The server event containing information about this action.
Throws:
javax.servlet.ServletException
Since:
JViews 7.5


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.