|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.PivotUtils
public class PivotUtils
PivotUtils is a collection of utility methods for PivotRowAdapters and PivotColumnAdapters.
Method Summary | |
---|---|
static PivotColumnAdapter[] |
getAdaptersForColumn(int column,
PivotColumnAdapter adapter)
Retrieves the paths at each adapter, bounded by the specified column. |
static PivotColumnAdapter |
getColumnAdapterAt(int column,
int groupLevel,
PivotColumnAdapter adapter)
Returns the adapter at the specified column and group level index. |
static TreePath[] |
getParents(TreePath[] paths)
Retrieves the parent paths of paths. |
static TreePath |
getPathForColumn(int column,
int groupLevel,
PivotColumnAdapter adapter)
Retrieves the column path at the specified column and group level index. |
static TreePath |
getPathForRow(int row,
int column,
PivotRowAdapter adapter)
Retrieves the row path at the specified row and column index. |
static TreePath[] |
getPathsForColumn(int column,
PivotColumnAdapter adapter)
Retrieves the column paths at the specified column index. |
static TreePath[] |
getPathsForRow(int row,
PivotRowAdapter adapter)
Retrieves the row paths at the specified row index. |
static PivotRowAdapter |
getRowAdapterAt(int row,
int column,
PivotRowAdapter adapter)
Returns the adapter at the specified row and column index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PivotColumnAdapter[] getAdaptersForColumn(int column, PivotColumnAdapter adapter)
column
- the column for which the paths are returnedadapter
- the adapter to use
public static PivotColumnAdapter getColumnAdapterAt(int column, int groupLevel, PivotColumnAdapter adapter)
column
- the column indexgroupLevel
- the group level indexadapter
- the pivot column adapter
public static TreePath[] getParents(TreePath[] paths)
paths
- the paths whose parents are returned
public static TreePath getPathForColumn(int column, int groupLevel, PivotColumnAdapter adapter)
column
- the column indexgroupLevel
- the group level indexadapter
- the pivot column adapter
public static TreePath getPathForRow(int row, int column, PivotRowAdapter adapter)
row
- the row indexcolumn
- the column indexadapter
- the pivot row adapter
public static TreePath[] getPathsForColumn(int column, PivotColumnAdapter adapter)
column
- the column indexadapter
- the pivot column adapter
public static TreePath[] getPathsForRow(int row, PivotRowAdapter adapter)
row
- the row indexadapter
- the pivot row adapter
public static PivotRowAdapter getRowAdapterAt(int row, int column, PivotRowAdapter adapter)
row
- the row indexcolumn
- the column indexadapter
- the pivot row adapter
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |