ilog.views.faces.dhtml.interactor
Interface IlvObjectSelectedFinder

All Superinterfaces:
Serializable
All Known Implementing Classes:
IlvDiagrammerObjectSelectedFinder, IlvDiagrammerObjectSelectedRectFinder, IlvFacesObjectSelectedFinder, IlvFacesObjectSelectedRectFinder

public interface IlvObjectSelectedFinder
extends Serializable

This interface defines a finder that searches the model object from the view where the object was selected and a list of parameters.

These parameters will be set by the renderer that will call the computeObjectSelected method.

Since:
JViews 6.5

Method Summary
 Object computeObjectSelected(IlvBasicView view, String[] params)
          Returns the clicked object from the view and the parameters of this clicked object.
 

Method Detail

computeObjectSelected

Object computeObjectSelected(IlvBasicView view,
                             String[] params)
Returns the clicked object from the view and the parameters of this clicked object. Each IlvDHTMLObjectSelectInteractor subclass must define how to access to the model from the view and what are the parameters necessary to find the object and set a default instance of this class.

Parameters:
view - The view that contains the object clicked.
params - An array of parameters.
Returns:
The clicked object or a collection of objects.
Since:
JViews 6.5


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