Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.client.widgets.drools.decoratedgrid.data
Class RowMapper

java.lang.Object
  extended by 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.


Constructor Summary
RowMapper(DynamicData data)
           
 
Method Summary
 int mapToAbsoluteRow(int index)
          Map an grouped row index to an absolute row index
 SortedSet<Integer> mapToAllAbsoluteRows(int index)
           
 int mapToMergedRow(int index)
          Map an absolute row index to grouped row index
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowMapper

public RowMapper(DynamicData data)
Method Detail

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)

Guvnor web application Drools 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.