ilog.tgo.faces.graph.dhtml.event
Class IltFacesDefaultObjectAction
java.lang.Object
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:
- expand subnetworks
- collapse subnetworks
- expand information icons
- collapse information windows
- expand system icons
- collapse system windows
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:
method_name: the method name
view: the graph view containing the object
xPos: the x component of the point
clicked
yPos: the y component of the point
clicked
If the method returns true, no selection will be processed
and a new image will be generated.
- Since:
- JViews 7.5
|
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 |
IltFacesDefaultObjectAction
public IltFacesDefaultObjectAction()
- Creates a new
IltFacesDefaultObjectAction instance.
processObjectAction
public 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
- 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.