org.rcfaces.core.model
Class IndexesModels

java.lang.Object
  extended by org.rcfaces.core.model.IndexesModels

public class IndexesModels
extends Object

IIndexesModel constructors.

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:41 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Constructor Summary
IndexesModels()
           
 
Method Summary
static Object getFirstSelectedObject(Object value, IIndexesModel indexesModel)
           
static Object[] listSelectedObject(Object[] destination, Object value, IIndexesModel indexesModel)
           
static void select(IIndexesModel model, int start, int length)
           
static IIndexesModel selectAll(Collection collection, int length)
           
static IIndexesModel selectAll(int length)
          Returns an IIndexesModel which all items are selected.
static IIndexesModel selectAll(Map map, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexesModels

public IndexesModels()
Method Detail

selectAll

public static IIndexesModel selectAll(int length)
Returns an IIndexesModel which all items are selected.

Parameters:
length - Number of item of the selection.

selectAll

public static IIndexesModel selectAll(Collection collection,
                                      int length)

selectAll

public static IIndexesModel selectAll(Map map,
                                      int length)

select

public static void select(IIndexesModel model,
                          int start,
                          int length)

listSelectedObject

public static Object[] listSelectedObject(Object[] destination,
                                          Object value,
                                          IIndexesModel indexesModel)

getFirstSelectedObject

public static Object getFirstSelectedObject(Object value,
                                            IIndexesModel indexesModel)


Copyright © 2006-2011 Vedana. All Rights Reserved.