|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.gen2.table.client.TableModel<RowType>
com.google.gwt.gen2.table.client.MutableTableModel<RowType>
org.kuali.student.common.ui.client.widgets.pagetable.GenericTableModel<RowType>
IsSerializiable - public class GenericTableModel<RowType>
This is a description of what this class does - Gary Struthers don't forget to fill this in.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.gen2.table.client.TableModel |
|---|
com.google.gwt.gen2.table.client.TableModel.Callback<RowType> |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.gen2.table.client.TableModel |
|---|
ALL_ROWS, UNKNOWN_ROW_COUNT |
| Constructor Summary | |
|---|---|
GenericTableModel()
This constructs an empty table model for the RowType |
|
GenericTableModel(List<RowType> rows)
This constructs a populated table model for the RowType |
|
| Method Summary | |
|---|---|
com.google.gwt.gen2.table.client.CachedTableModel<RowType> |
createCachedTableModel(int pageSize,
int pages)
This returns cached table model for the RowType |
int |
getRowCount()
This overridden method returns the static size the table |
boolean |
isErrorMode()
|
boolean |
isZeroMode()
|
protected boolean |
onRowInserted(int beforeRow)
This overridden method ... |
protected boolean |
onRowRemoved(int row)
This overridden method ... |
protected boolean |
onSetRowValue(int row,
RowType rowValue)
This overridden method ... |
void |
requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request request,
com.google.gwt.gen2.table.client.TableModel.Callback<RowType> callback)
This overridden method handles only errorMode, zeroMode, and local dtos Production code will need rpc to load server side dto's, that feature can be added in a subclass and perhaps here if it can be done generically |
void |
setColumnDefs(List<com.google.gwt.gen2.table.client.AbstractColumnDefinition<ResultRow,?>> columnDefs)
|
void |
setErrorMode(boolean errorMode)
|
void |
setRows(List<RowType> rows)
|
void |
setZeroMode(boolean zeroMode)
|
| Methods inherited from class com.google.gwt.gen2.table.client.MutableTableModel |
|---|
addRowInsertionHandler, addRowRemovalHandler, addRowValueChangeHandler, insertRow, removeRow, setRowValue |
| Methods inherited from class com.google.gwt.gen2.table.client.TableModel |
|---|
addHandler, addRowCountChangeHandler, fireEvent, getHandlerManager, isEventHandled, removeHandler, setRowCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericTableModel()
public GenericTableModel(List<RowType> rows)
| Method Detail |
|---|
public com.google.gwt.gen2.table.client.CachedTableModel<RowType> createCachedTableModel(int pageSize,
int pages)
protected boolean onRowInserted(int beforeRow)
onRowInserted in class com.google.gwt.gen2.table.client.MutableTableModel<RowType>MutableTableModel.onRowInserted(int)protected boolean onRowRemoved(int row)
onRowRemoved in class com.google.gwt.gen2.table.client.MutableTableModel<RowType>MutableTableModel.onRowRemoved(int)
protected boolean onSetRowValue(int row,
RowType rowValue)
onSetRowValue in class com.google.gwt.gen2.table.client.MutableTableModel<RowType>MutableTableModel.onSetRowValue(int, java.lang.Object)
public void requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request request,
com.google.gwt.gen2.table.client.TableModel.Callback<RowType> callback)
requestRows in class com.google.gwt.gen2.table.client.TableModel<RowType>TableModel.requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request, com.google.gwt.gen2.table.client.TableModel.Callback)public void setRows(List<RowType> rows)
rowDTOs - the rowDTOs to setpublic int getRowCount()
getRowCount in class com.google.gwt.gen2.table.client.TableModel<RowType>TableModel.getRowCount()public boolean isErrorMode()
public void setErrorMode(boolean errorMode)
errorMode - the errorMode to setpublic boolean isZeroMode()
public void setZeroMode(boolean zeroMode)
zeroMode - the zeroMode to setpublic void setColumnDefs(List<com.google.gwt.gen2.table.client.AbstractColumnDefinition<ResultRow,?>> columnDefs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||