org.drools.guvnor.client.widgets.drools.decoratedgrid.data
Class RowMapper
java.lang.Object
org.drools.guvnor.client.widgets.drools.decoratedgrid.data.RowMapper
public class RowMapper
- extends Object
Utility class to map an absolute row index to and from a merged row index. An
absolute row index represents a row in the underlying data that has not been
grouped into fewer rows. A merged row index represents a row in the
underlying data that has been grouped.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowMapper
public RowMapper(DynamicData data)
mapToMergedRow
public int mapToMergedRow(int index)
- Map an absolute row index to grouped row index
- Parameters:
index
-
- Returns:
mapToAbsoluteRow
public int mapToAbsoluteRow(int index)
- Map an grouped row index to an absolute row index
- Parameters:
index
-
- Returns:
mapToAllAbsoluteRows
public SortedSet<Integer> mapToAllAbsoluteRows(int index)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.