public class OAObjectGrid extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OAObjectGrid.Column<TYPE extends OAObject> |
Constructor and Description |
---|
OAObjectGrid() |
public OAObjectGrid.Column addColumn(Hub hub)
public OAObjectGrid.Column addDetailColumn(OAObjectGrid.Column colFrom, String pp)
public OAObjectGrid.Column addGroupByColumn(OAObjectGrid.Column colLeft, Hub hub, String pp, String matchPropName)
colLeft
- that is the linkLeft for hub to match to.pp
- propertyPath to link hub/object.matchPropName
- property in hub that links to colLeft.hubpublic OAObjectGrid.Column getRootColumn(OAObjectGrid.Column col)
public String getPropertyPathFromRoot(OAObjectGrid.Column colParent, String pp)
public static boolean verifyLinkProperty(Class classFrom, String pp)
public OAObjectGrid.Column getColumn(int pos)
public int getColumnCount()
public List<OAObjectGrid.Column> getColumns()
public void clearGrid()
public Object getObject(int row, int col)
public Object getRealObject(int row, int col)
protected Object getObject(int rowPos, OAObjectGrid.Column column, List<Object[]> al, boolean bGetRealObject)
protected boolean hasChildRow(OAObjectGrid.Column column, int row, List<Object[]> al)
public int getRowCount()
public int getRowCount(OAObjectGrid.Column col)
protected int _populateGridRows(OAObjectGrid.Column column, int rowPos, OAObject object, List<Object[]> alGrid)
public int getRowCount(OAObjectGrid.Column column, OAObject object)
Copyright © 1999–2025 ViaOA. All rights reserved.