public class LiveGridView<M> extends GridView<M>
| Constructor and Description |
|---|
LiveGridView() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCacheSize()
Returns the numbers of rows that should be cached.
|
int |
getLoadDelay()
Returns the amount of time before loading is done.
|
double |
getPrefetchFactor()
Returns the prefetchFactor.
|
int |
getRowHeight()
Returns the height of one row.
|
int |
getVisibleRowCount() |
void |
refresh()
Refreshed the view.
|
void |
refresh(boolean headerToo)
Rebuilds the grid using its current configuration and data.
|
void |
scrollToTop()
Scrolls the grid to the top.
|
void |
setCacheSize(int cacheSize)
Sets the amount of rows that should be cached (default to 200).
|
void |
setLoadDelay(int loadDelay)
Sets the amount of time before loading is done (defaults to 200).
|
void |
setPrefetchFactor(double prefetchFactor)
Sets the pre-fetch factor (defaults to .2).
|
void |
setRowHeight(int rowHeight)
Sets the height of one row (defaults to 20).
|
ensureVisible, findCell, findCellIndex, findRow, findRowIndex, focusCell, focusRow, getAutoExpandColumn, getAutoExpandMax, getAutoExpandMin, getBody, getCell, getCellSelectorDepth, getEditorParent, getEmptyText, getHeader, getHeaderCell, getInnerCellElement, getRow, getRow, getRowSelectorDepth, getScroller, getScrollState, getViewConfig, isAdjustForHScroll, isAutoFill, isForceFit, isSelectableTarget, isShowDirtyCells, isSortingEnabled, layout, setAdjustForHScroll, setAutoExpandColumn, setAutoExpandMax, setAutoExpandMin, setAutoFill, setCellSelectorDepth, setEmptyText, setForceFit, setRowSelectorDepth, setShowDirtyCells, setSortingEnabled, setViewConfigpublic int getCacheSize()
public int getLoadDelay()
public double getPrefetchFactor()
public int getRowHeight()
public int getVisibleRowCount()
public void refresh()
public void refresh(boolean headerToo)
GridViewpublic void scrollToTop()
GridViewscrollToTop in class GridView<M>public void setCacheSize(int cacheSize)
cacheSize - the new cache sizepublic void setLoadDelay(int loadDelay)
loadDelay - the new load delay in millisecondspublic void setPrefetchFactor(double prefetchFactor)
prefetchFactor - the pre-fetch factorpublic void setRowHeight(int rowHeight)
LiveGridView will
only work with fixed row heights with all rows being the same height.
Changing this value will not physically resize the row heights, rather, the
specified height will be used internally for calculations.rowHeight - the new row height.Copyright © 2012. All Rights Reserved.