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

java.lang.Object
  extended by ilog.tgo.faces.graph.dhtml.event.IltFacesDefaultObjectAction

public class IltFacesDefaultObjectAction
extends Object

IltFacesDefaultObjectAction implements the default behavior for object actions supported by the clientSelectInteractor JSF component. The supported actions are:

You may override or extend the object action behavior by setting a method binding to the objectActionMethodBinding tag attribute of the clientSelectInteractor tag. This method binding should have the following signature:

 boolean method_name(IlpGraphView view, int xPos, int yPos)
 
The items in the signature have the following meanings: If the method returns true, no selection will be processed and a new image will be generated.

Since:
JViews 7.5

Constructor Summary
IltFacesDefaultObjectAction()
          Creates a new IltFacesDefaultObjectAction instance.
 
Method Summary
 boolean processObjectAction(IlpGraphView view, int xPos, int yPos)
          Processes the following supported object actions: expand subnetworks collapse subnetworks expand information icons collapse information windows expand system icons collapse system windows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltFacesDefaultObjectAction

public IltFacesDefaultObjectAction()
Creates a new IltFacesDefaultObjectAction instance.

Method Detail

processObjectAction

public boolean processObjectAction(IlpGraphView view,
                                   int xPos,
                                   int yPos)
Processes the following supported object actions:

Parameters:
view - The graph view containing the visible objects.
xPos - The x component in view coordinates.
yPos - The y component in view coordinates.
Returns:
If any object action has been performed, true is returned.
Since:
JViews 7.5


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