ilog.views.faces.dhtml.interactor
Class IlvFacesObjectSelectedFinder

java.lang.Object
  extended by ilog.views.faces.dhtml.interactor.IlvFacesObjectSelectedFinder
All Implemented Interfaces:
IlvObjectSelectedFinder, Serializable
Direct Known Subclasses:
IlvDiagrammerObjectSelectedFinder

public class IlvFacesObjectSelectedFinder
extends Object
implements IlvObjectSelectedFinder

This class defines the default object selected finder for an IlvFacesObjectSelectInteractor.

Since:
JViews 6.5
See Also:
Serialized Form

Constructor Summary
IlvFacesObjectSelectedFinder()
          Creates a new IlvFacesObjectSelectedFinder instance.
 
Method Summary
 Object computeObjectSelected(IlvBasicView view, String[] params)
          This method returns the object that was selected in the specified coordinates in manager coordinates system.
 Object computeObjectSelected(IlvFacesView view, IlvPoint pointClicked, IlvTransformer transformer)
          This method returns the object that was selected in the specified point coordinates.
 Object computeObjectSelected(IlvManagerView managerView, IlvPoint pointClicked, IlvTransformer transformer)
          Returns the graphic object located at the specified point in a manager view; otherwise, it returns null.
 Object computeObjectSelected(IlvManagerView managerView, String[] params)
          Returns the graphic object located at the specified point in a manager view; otherwise, it returns null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvFacesObjectSelectedFinder

public IlvFacesObjectSelectedFinder()
Creates a new IlvFacesObjectSelectedFinder instance.

Method Detail

computeObjectSelected

public Object computeObjectSelected(IlvBasicView view,
                                    String[] params)
This method returns the object that was selected in the specified coordinates in manager coordinates system.
The parameters passed to this method are:

computeObjectSelected

public Object computeObjectSelected(IlvFacesView view,
                                    IlvPoint pointClicked,
                                    IlvTransformer transformer)
This method returns the object that was selected in the specified point coordinates.

Parameters:
view - The faces view component.
pointClicked - The point where the click was done.
transformer - The view transformer.
Returns:
The object selected.

computeObjectSelected

public Object computeObjectSelected(IlvManagerView managerView,
                                    String[] params)
Returns the graphic object located at the specified point in a manager view; otherwise, it returns null.

Parameters:
managerView - The manager view.
params - The string array of parameters.
Returns:
The graphic object selected or null.
Since:
JViews 7.5
See Also:
computeObjectSelected(IlvBasicView, String[])

computeObjectSelected

public Object computeObjectSelected(IlvManagerView managerView,
                                    IlvPoint pointClicked,
                                    IlvTransformer transformer)
Returns the graphic object located at the specified point in a manager view; otherwise, it returns null.

Parameters:
managerView - the managerView
pointClicked - The point where the click was done.
transformer - The view transformer.
Returns:
The graphic object selected or null.
Since:
JViews 7.5


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