org.rcfaces.core.model
Class MapIndexesModel

java.lang.Object
  extended by org.rcfaces.core.model.AbstractIndexesModel
      extended by org.rcfaces.core.model.CollectionIndexesModel
          extended by org.rcfaces.core.model.MapIndexesModel
All Implemented Interfaces:
Serializable, ICommitableObject, IIndexesModel

public class MapIndexesModel
extends CollectionIndexesModel

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

Field Summary
 
Fields inherited from class org.rcfaces.core.model.CollectionIndexesModel
collection, commited, EMPTY_SELECTION, UNKNOWN_INDEX
 
Constructor Summary
MapIndexesModel(Map map)
           
MapIndexesModel(Map map, Object defaultValue)
           
 
Method Summary
 boolean addIndex(int index)
           
 IIndexesModel copy()
           
protected  Object getSelectedValue(int index)
           
 
Methods inherited from class org.rcfaces.core.model.CollectionIndexesModel
clearIndexes, commit, containsIndex, countIndexes, getFirstIndex, getIndex, getKey, getUnknownIndex, isCommited, listSortedIndexes, removeIndex, setIndexes
 
Methods inherited from class org.rcfaces.core.model.AbstractIndexesModel
getFirstSelectedObject, listSelectedObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapIndexesModel

public MapIndexesModel(Map map)

MapIndexesModel

public MapIndexesModel(Map map,
                       Object defaultValue)
Method Detail

addIndex

public boolean addIndex(int index)
Specified by:
addIndex in interface IIndexesModel
Overrides:
addIndex in class CollectionIndexesModel

getSelectedValue

protected Object getSelectedValue(int index)

copy

public IIndexesModel copy()
Specified by:
copy in interface IIndexesModel
Overrides:
copy in class CollectionIndexesModel


Copyright © 2006-2011 Vedana. All Rights Reserved.