|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.ui.common.component.data.GridArrayDataModel
public class GridArrayDataModel
| Constructor Summary | |
|---|---|
GridArrayDataModel(java.lang.Object[] data)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
getRow(int index)
Get a row object for the specified row index |
int |
size()
Return the number of rows in the data model |
void |
sort(java.lang.String column,
boolean descending,
java.lang.String mode)
Sort the data set using the specified sort parameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridArrayDataModel(java.lang.Object[] data)
data - Array of Object (beans) row data| Method Detail |
|---|
public java.lang.Object getRow(int index)
getRow in interface IGridDataModelindex - valid row index
public int size()
size in interface IGridDataModel
public void sort(java.lang.String column,
boolean descending,
java.lang.String mode)
sort in interface IGridDataModelcolumn - Column to sortdescending - True for descending sort, false for ascendingmode - Sort mode to use (see IDataContainer constants)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||