ilog.tgo.faces.graph.dhtml.event
Class IltFacesObjectSelectActionListener
java.lang.Object
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:
- expand subnetworks
- collapse subnetworks
- expand information icons
- collapse information windows
- expand system icons
- collapse system windows
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 name
view is the graph view containing the object
xPos is the x component of the clicked point
yPos is the y component of the clicked point
If the method returns true, no selection will be processed
and a new image will be generated.
- Since:
- JViews 7.5
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_NAME
public static final String ACTION_NAME
- See Also:
- Constant Field Values
- Internal method or field: do not use!
IltFacesObjectSelectActionListener
public IltFacesObjectSelectActionListener()
- Creates a new
IltFacesObjectSelectActionListener instance.
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.