org.springframework.richclient.list
Class ListUtils
java.lang.Object
org.springframework.richclient.list.ListUtils
public class ListUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createRemoveRowCommand
public static ActionCommand createRemoveRowCommand(List list,
ValueModel selectionIndexHolder)
getFilteredListModel
public static ListModel getFilteredListModel(ListModel listModel)
- Returns the list model of a filter chain.
- Parameters:
listModel
- the filtered list model chain
- Returns:
- the (unfiltered) list model
getElementIndex
public static int getElementIndex(ListModel listModel,
int filteredIndex)
- Returns the unfiltered element index from a chained filtered list model
- Parameters:
listModel
- the chained filtered list modelfilteredIndex
- the index of the element to return the unfiltered index for
- Returns:
- the element index of the unfiltered list model
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.