|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.widget.grid.GridView
com.extjs.gxt.ui.client.widget.grid.BufferView
public class BufferView
Renders the rows as they scroll into view. This GridView is fast for displaying many rows at once, but it does not support all features the normal {link @GridView} supports, such has expanding rows.
Only works with constant row heights that can be specified usingsetRowHeight(int).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.grid.GridView |
|---|
GridView.GridViewImages |
| Constructor Summary | |
|---|---|
BufferView()
|
|
| Method Summary | |
|---|---|
int |
getCacheSize()
Returns the amount of rows that should be cached. |
int |
getCleanDelay()
Returns the amount of time before cleaning is done. |
int |
getRowHeight()
Returns the height of one row. |
int |
getScrollDelay()
Returns the amount of time before new rows are displayed after scrolling |
boolean |
isBufferEnabled()
Returns true if buffering is enabled. |
void |
layout()
|
void |
setBufferEnabled(boolean bufferEnabled)
True to enabled buffered functionality (defaults to true). |
void |
setCacheSize(int cacheSize)
Sets the amount of rows that should be cached (default to 10). |
void |
setCleanDelay(int cleanDelay)
Sets the amount of time before cleaning is done (defaults to 500). |
void |
setRowHeight(int rowHeight)
Sets the height of one row (defaults to 19). |
void |
setScrollDelay(int scrollDelay)
Sets the amount of time before new rows are displayed after scrolling (defaults to 100). |
| Methods inherited from class com.extjs.gxt.ui.client.widget.grid.GridView |
|---|
ensureVisible, findCell, findCellIndex, findRow, findRowIndex, focusCell, focusRow, getBody, getCell, getCellSelectorDepth, getEditorParent, getEmptyText, getHeader, getHeaderCell, getImages, getRow, getRow, getRowSelectorDepth, getScrollState, getViewConfig, getWidget, isAutoFill, isForceFit, isShowDirtyCells, isSortingEnabled, refresh, scrollToTop, setAutoFill, setCellSelectorDepth, setEmptyText, setForceFit, setRowSelectorDepth, setShowDirtyCells, setSortingEnabled, setViewConfig |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufferView()
| Method Detail |
|---|
public int getCacheSize()
public int getCleanDelay()
public int getRowHeight()
public int getScrollDelay()
public boolean isBufferEnabled()
public void layout()
layout in class GridViewpublic void setBufferEnabled(boolean bufferEnabled)
bufferEnabled - true to buffer, otherwise falsepublic void setCacheSize(int cacheSize)
cacheSize - the new cache sizepublic void setCleanDelay(int cleanDelay)
cleanDelay - the new clean delaypublic void setRowHeight(int rowHeight)
rowHeight - the new row height.public void setScrollDelay(int scrollDelay)
scrollDelay - the new scroll delay.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||