com.extjs.gxt.ui.client.widget.grid
Class GridView

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.grid.GridView
All Implemented Interfaces:
Observable
Direct Known Subclasses:
BufferView, GroupingView, LiveGridView

public class GridView
extends BaseObservable

This class encapsulates the user interface of an Grid. Methods of this class may be used to access user interface elements to enable special display effects. Do not change the DOM structure of the user interface.

This class does not provide ways to manipulate the underlying data. The data model of a Grid is held in an ListStore.


Nested Class Summary
 class GridView.GridViewImages
          Icons used by Grid which can be overridden as needed.
 
Field Summary
protected  int activeHdIndex
           
protected  boolean autoFill
           
protected  int borderWidth
           
protected  ColumnModel cm
           
protected  Listener<ColumnModelEvent> columnListener
           
protected  boolean deferEmptyText
           
protected  ListStore<ModelData> ds
           
protected  El el
           
protected  java.lang.String emptyText
           
protected  boolean enableHdMenu
           
protected  boolean enableRowBody
           
protected  El focusEl
           
protected  boolean focusEnabled
           
protected  ColumnFooter footer
           
protected  boolean forceFit
           
protected  Grid<ModelData> grid
           
protected  ColumnHeader header
           
protected  int headerColumnIndex
           
protected  boolean headerDisabled
           
protected  GridView.GridViewImages images
           
protected  El innerHd
           
protected  int lastViewWidth
           
protected  StoreListener<ModelData> listener
           
protected  El mainBody
           
protected  El mainHd
           
protected  El mainWrap
           
protected  com.google.gwt.dom.client.Element overRow
           
protected  boolean preventScrollToTopOnRefresh
           
protected  El scroller
           
protected  int scrollOffset
           
protected  boolean selectable
           
protected  SortInfo sortState
           
protected  int splitterWidth
           
protected  GridTemplates templates
           
protected  boolean userResized
           
protected  boolean vbar
           
protected  GridViewConfig viewConfig
           
protected  java.util.List<java.util.List<com.google.gwt.user.client.ui.Widget>> widgetList
           
 
Constructor Summary
GridView()
           
 
Method Summary
protected  void addRowStyle(com.google.gwt.dom.client.Element elem, java.lang.String style)
           
protected  void afterRender()
           
protected  void applyEmptyText()
           
protected  void autoExpand(boolean preventUpdate)
           
protected  void calculateVBar(boolean force)
           
protected  GridEvent<?> createComponentEvent(com.google.gwt.user.client.Event event)
           
protected  Menu createContextMenu(int colIndex)
           
protected  void detachWidget(int rowIndex, boolean remove)
           
protected  void detachWidgets(int startRow, int endRow, boolean remove)
           
protected  void doAttach()
           
protected  void doDetach()
           
protected  java.lang.String doRender(java.util.List<ColumnData> cs, java.util.List<ModelData> rows, int startRow, int colCount, boolean stripe)
           
protected  void doSort(int colIndex, Style.SortDir sortDir)
           
 Point ensureVisible(int row, int col, boolean hscroll)
          Ensured the current row and column is visible.
 com.google.gwt.dom.client.Element findCell(com.google.gwt.dom.client.Element elem)
          Returns the cell.
 int findCellIndex(com.google.gwt.dom.client.Element elem, java.lang.String requiredStyle)
          Returns the cell index.
 com.google.gwt.dom.client.Element findRow(com.google.gwt.dom.client.Element el)
          Returns the row element.
 int findRowIndex(com.google.gwt.dom.client.Element elem)
          Returns the row index.
protected  void fitColumns(boolean preventRefresh, boolean onlyExpand, int omitColumn)
           
protected  El fly(com.google.gwt.dom.client.Element elem)
           
 void focusCell(int rowIndex, int colIndex, boolean hscroll)
          Focus the cell and scrolls into view.
protected  void focusGrid()
           
 void focusRow(int rowIndex)
          Focus the row and scrolls into view.
 El getBody()
          Returns the grid's body element.
 com.google.gwt.dom.client.Element getCell(int row, int col)
          Returns the grid's <TD> HtmlElement at the specified coordinates.
protected  int getCellIndex(com.google.gwt.dom.client.Element elem)
           
 int getCellSelectorDepth()
          Returns the cell selector depth.
protected  java.util.List<ColumnData> getColumnData()
           
protected  java.lang.String getColumnStyle(int colIndex, boolean isHeader)
           
protected  int getColumnWidth(int col)
           
 com.google.gwt.dom.client.Element getEditorParent()
          Returns the editor parent element.
 java.lang.String getEmptyText()
          Returns the empty text.
 ColumnHeader getHeader()
          Returns the grid's column header.
 com.google.gwt.dom.client.Element getHeaderCell(int index)
          Returns the <TD> HtmlElement which represents the Grid's header cell for the specified column index.
 GridView.GridViewImages getImages()
          Returns the images used by grid.
protected  int getOffsetWidth()
           
protected  java.lang.String getRenderedValue(ColumnData data, int rowIndex, int colIndex, ModelData m, java.lang.String property)
           
 com.google.gwt.dom.client.Element getRow(int row)
          Return the <TR> HtmlElement which represents a Grid row for the specified index.
 com.google.gwt.dom.client.Element getRow(ModelData m)
          Return the <TR> HtmlElement which represents a Grid row for the specified model.
protected  com.google.gwt.dom.client.NodeList<com.google.gwt.dom.client.Element> getRows()
           
 int getRowSelectorDepth()
          Returns the row selector depth.
protected  int getScrollAdjust()
           
 El getScroller()
          Returns the scroll element.
 Point getScrollState()
          Returns the current scroll state.
protected  SortInfo getSortState()
           
protected  int getTotalWidth()
           
 GridViewConfig getViewConfig()
          Returns the view config.
 com.google.gwt.user.client.ui.Widget getWidget(int rowIndex, int colIndex)
          Returns the widget at the current location.
protected  com.google.gwt.dom.client.Element getWidgetCell(int row, int cell)
           
protected  void handleComponentEvent(GridEvent ge)
           
protected  boolean hasRows()
           
protected  void init(Grid grid)
          Initializes the view.
protected  void initData(ListStore ds, ColumnModel cm)
          Initializes the data.
protected  void initElements()
           
protected  void initListeners()
           
protected  void initTemplates()
           
protected  void initUI(Grid<ModelData> grid)
           
protected  void insertRows(ListStore<ModelData> store, int firstRow, int lastRow, boolean isUpdate)
           
 boolean isAdjustForHScroll()
          Returns true if the grid width will be adjusted based on visibility of horizontal scroll bar.
 boolean isAutoFill()
          Returns true if auto fill is enabled.
 boolean isForceFit()
          Returns true if force fit is enabled.
 boolean isShowDirtyCells()
          Returns true if dirty cell markers are enabled.
 boolean isShowInvalidCells()
          Returns true if invalid cell markers are enabled.
 boolean isSortingEnabled()
          Returns true if sorting is enabled.
 void layout()
           
protected  void layout(boolean skipResize)
           
protected  ColumnHeader newColumnHeader()
           
protected  void notifyHide()
           
protected  void notifyShow()
           
protected  void onAdd(ListStore<ModelData> store, java.util.List<ModelData> models, int index)
           
protected  void onBeforeDataChanged(StoreEvent<ModelData> se)
           
protected  void onCellDeselect(int row, int col)
           
protected  void onCellSelect(int row, int col)
           
protected  void onClear(StoreEvent<ModelData> se)
           
protected  void onClick(GridEvent<ModelData> ce)
           
protected  void onColumnMove(int newIndex)
           
protected  void onColumnSplitterMoved(int colIndex, int width)
           
protected  void onColumnWidthChange(int column, int width)
           
protected  void onDataChanged(StoreEvent<ModelData> se)
           
protected  void onHeaderChange(int column, java.lang.String text)
           
protected  void onHeaderClick(Grid<ModelData> grid, int column)
           
protected  void onHiddenChange(ColumnModel cm, int col, boolean hidden)
           
protected  void onHighlightRow(int rowIndex, boolean highlight)
           
protected  void onMouseDown(GridEvent<ModelData> ge)
           
protected  void onRemove(ListStore<ModelData> ds, ModelData m, int index, boolean isUpdate)
           
protected  void onRowDeselect(int rowIndex)
           
protected  void onRowOut(com.google.gwt.dom.client.Element row)
           
protected  void onRowOver(com.google.gwt.dom.client.Element row)
           
protected  void onRowSelect(int rowIndex)
           
protected  void onUpdate(ListStore<ModelData> store, ModelData model)
           
protected  ModelData prepareData(ModelData model)
           
protected  void processRows(int startRow, boolean skipStripe)
           
 void refresh(boolean headerToo)
          Rebuilds the grid using its current configuration and data.
protected  void refreshRow(int row)
           
protected  void removeRow(int row)
           
protected  void removeRowStyle(com.google.gwt.dom.client.Element row, java.lang.String style)
           
protected  void render()
           
protected  void renderFooter()
           
protected  void renderHeader()
           
protected  java.lang.String renderRows(int startRow, int endRow)
           
protected  void renderUI()
           
protected  void renderWidgets(int startRow, int endRow)
           
protected  void resize()
           
protected  void restoreScroll(Point state)
           
 void scrollToTop()
          Scrolls the grid to the top.
 void setAdjustForHScroll(boolean adjustForHScroll)
          True to adjust the grid width when the horizontal scrollbar is hidden and visible (defaults to true).
 void setAutoFill(boolean autoFill)
          True to auto expand the columns to fit the grid when the grid is created.
 void setCellSelectorDepth(int cellSelectorDepth)
          The number of levels to search for cells in event delegation (defaults to 4).
 void setEmptyText(java.lang.String emptyText)
          Default text to display in the grid body when no rows are available (defaults to '').
 void setForceFit(boolean forceFit)
          True to auto expand/contract the size of the columns to fit the grid width and prevent horizontal scrolling.
 void setRowSelectorDepth(int rowSelectorDepth)
          The number of levels to search for rows in event delegation (defaults to 10).
 void setShowDirtyCells(boolean showDirtyCells)
          True to display a red triangle in the upper left corner of any cells which are "dirty" as defined by any existing records in the data store (defaults to true).
 void setShowInvalidCells(boolean showInvalidCells)
          True to enabled invalid cell markers (defaults to false).
 void setSortingEnabled(boolean sortable)
          True to allow column sorting when the user clicks a column (defaults to true).
 void setViewConfig(GridViewConfig viewConfig)
          Sets the view config.
protected  void stopEditing()
           
protected  void syncHeaderScroll()
           
protected  void syncHScroll()
           
protected  void syncScroll()
           
protected  void templateAfterMove(int index)
           
protected  void templateOnAllColumnWidthsUpdated(java.util.List<java.lang.Integer> ws, int tw)
           
protected  void templateOnColumnHiddenUpdated(int col, boolean hidden, int tw)
           
protected  void templateOnColumnWidthUpdated(int col, int w, int tw)
           
protected  void templateOnLayout(int vw, int vh)
           
protected  void templateUpdateColumnText(int col, java.lang.String text)
           
protected  void updateAllColumnWidths()
           
protected  void updateColumnHidden(int index, boolean hidden)
           
protected  void updateColumnWidth(int col, int width)
           
protected  void updateHeaderSortState()
           
protected  void updateSortIcon(int colIndex, Style.SortDir dir)
           
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activeHdIndex

protected int activeHdIndex

autoFill

protected boolean autoFill

borderWidth

protected int borderWidth

cm

protected ColumnModel cm

columnListener

protected Listener<ColumnModelEvent> columnListener

deferEmptyText

protected boolean deferEmptyText

ds

protected ListStore<ModelData> ds

el

protected El el

mainWrap

protected El mainWrap

mainHd

protected El mainHd

innerHd

protected El innerHd

scroller

protected El scroller

mainBody

protected El mainBody

focusEl

protected El focusEl

emptyText

protected java.lang.String emptyText

enableHdMenu

protected boolean enableHdMenu

enableRowBody

protected boolean enableRowBody

focusEnabled

protected boolean focusEnabled

footer

protected ColumnFooter footer

forceFit

protected boolean forceFit

grid

protected Grid<ModelData> grid

header

protected ColumnHeader header

headerColumnIndex

protected int headerColumnIndex

headerDisabled

protected boolean headerDisabled

images

protected GridView.GridViewImages images

lastViewWidth

protected int lastViewWidth

listener

protected StoreListener<ModelData> listener

overRow

protected com.google.gwt.dom.client.Element overRow

preventScrollToTopOnRefresh

protected boolean preventScrollToTopOnRefresh

scrollOffset

protected int scrollOffset

selectable

protected boolean selectable

sortState

protected SortInfo sortState

splitterWidth

protected int splitterWidth

templates

protected GridTemplates templates

userResized

protected boolean userResized

vbar

protected boolean vbar

viewConfig

protected GridViewConfig viewConfig

widgetList

protected java.util.List<java.util.List<com.google.gwt.user.client.ui.Widget>> widgetList
Constructor Detail

GridView

public GridView()
Method Detail

ensureVisible

public Point ensureVisible(int row,
                           int col,
                           boolean hscroll)
Ensured the current row and column is visible.

Parameters:
row - the row index
col - the column index
hscroll - true to scroll horizontally if needed
Returns:
the calculated point

findCell

public com.google.gwt.dom.client.Element findCell(com.google.gwt.dom.client.Element elem)
Returns the cell.

Parameters:
elem - the cell element or a child element
Returns:
the cell element

findCellIndex

public int findCellIndex(com.google.gwt.dom.client.Element elem,
                         java.lang.String requiredStyle)
Returns the cell index.

Parameters:
elem - the cell or child element
requiredStyle - an optional required style name
Returns:
the cell index or -1 if not found

findRow

public com.google.gwt.dom.client.Element findRow(com.google.gwt.dom.client.Element el)
Returns the row element.

Parameters:
el - the row element or any child element
Returns:
the matching row element

findRowIndex

public int findRowIndex(com.google.gwt.dom.client.Element elem)
Returns the row index.

Parameters:
elem - the row or child of the row element
Returns:
the index

focusCell

public void focusCell(int rowIndex,
                      int colIndex,
                      boolean hscroll)
Focus the cell and scrolls into view.

Parameters:
rowIndex - the row index
colIndex - the column index
hscroll - true to scroll horizontally

focusRow

public void focusRow(int rowIndex)
Focus the row and scrolls into view.

Parameters:
rowIndex - the row index

getBody

public El getBody()
Returns the grid's body element.

Returns:
the body element

getCell

public com.google.gwt.dom.client.Element getCell(int row,
                                                 int col)
Returns the grid's <TD> HtmlElement at the specified coordinates.

Parameters:
row - the row index in which to find the cell
col - the column index of the cell
Returns:
the <TD> at the specified coordinates

getCellSelectorDepth

public int getCellSelectorDepth()
Returns the cell selector depth.

Returns:
the cell selector depth

getEditorParent

public com.google.gwt.dom.client.Element getEditorParent()
Returns the editor parent element.

Returns:
the editor element

getEmptyText

public java.lang.String getEmptyText()
Returns the empty text.

Returns:
the empty text

getHeader

public ColumnHeader getHeader()
Returns the grid's column header.

Returns:
the header

getHeaderCell

public com.google.gwt.dom.client.Element getHeaderCell(int index)
Returns the <TD> HtmlElement which represents the Grid's header cell for the specified column index.

Parameters:
index - the column index
Returns:
the <TD> element.

getImages

public GridView.GridViewImages getImages()
Returns the images used by grid.

Returns:
the images

getRow

public com.google.gwt.dom.client.Element getRow(int row)
Return the <TR> HtmlElement which represents a Grid row for the specified index.

Parameters:
row - the row index
Returns:
the <TR> element

getRow

public com.google.gwt.dom.client.Element getRow(ModelData m)
Return the <TR> HtmlElement which represents a Grid row for the specified model.

Parameters:
m - the model
Returns:
the <TR> element

getRowSelectorDepth

public int getRowSelectorDepth()
Returns the row selector depth.

Returns:
the row selector depth

getScroller

public El getScroller()
Returns the scroll element.

Returns:
the scroll element

getScrollState

public Point getScrollState()
Returns the current scroll state.

Returns:
the scroll state

getViewConfig

public GridViewConfig getViewConfig()
Returns the view config.

Returns:
the view config

getWidget

public com.google.gwt.user.client.ui.Widget getWidget(int rowIndex,
                                                      int colIndex)
Returns the widget at the current location.

Parameters:
rowIndex - the row index
colIndex - the column index
Returns:
the widget or null

isAdjustForHScroll

public boolean isAdjustForHScroll()
Returns true if the grid width will be adjusted based on visibility of horizontal scroll bar.

Returns:
true if adjusting

isAutoFill

public boolean isAutoFill()
Returns true if auto fill is enabled.

Returns:
true for auto fill

isForceFit

public boolean isForceFit()
Returns true if force fit is enabled.

Returns:
true for force fit

isShowDirtyCells

public boolean isShowDirtyCells()
Returns true if dirty cell markers are enabled.

Returns:
true of dirty cell markers

isShowInvalidCells

public boolean isShowInvalidCells()
Returns true if invalid cell markers are enabled.

Returns:
true if enabled

isSortingEnabled

public boolean isSortingEnabled()
Returns true if sorting is enabled.

Returns:
true for sorting

layout

public void layout()

refresh

public void refresh(boolean headerToo)
Rebuilds the grid using its current configuration and data.

Parameters:
headerToo - true to refresh the header

scrollToTop

public void scrollToTop()
Scrolls the grid to the top.


setAdjustForHScroll

public void setAdjustForHScroll(boolean adjustForHScroll)
True to adjust the grid width when the horizontal scrollbar is hidden and visible (defaults to true).

Parameters:
adjustForHScroll - true to adjust for horizontal scroll bar

setAutoFill

public void setAutoFill(boolean autoFill)
True to auto expand the columns to fit the grid when the grid is created.

Parameters:
autoFill - true to expand

setCellSelectorDepth

public void setCellSelectorDepth(int cellSelectorDepth)
The number of levels to search for cells in event delegation (defaults to 4).

Parameters:
cellSelectorDepth - the cell selector depth

setEmptyText

public void setEmptyText(java.lang.String emptyText)
Default text to display in the grid body when no rows are available (defaults to '').

Parameters:
emptyText - the empty text

setForceFit

public void setForceFit(boolean forceFit)
True to auto expand/contract the size of the columns to fit the grid width and prevent horizontal scrolling.

Parameters:
forceFit - true to force fit

setRowSelectorDepth

public void setRowSelectorDepth(int rowSelectorDepth)
The number of levels to search for rows in event delegation (defaults to 10).

Parameters:
rowSelectorDepth - the row selector depth

setShowDirtyCells

public void setShowDirtyCells(boolean showDirtyCells)
True to display a red triangle in the upper left corner of any cells which are "dirty" as defined by any existing records in the data store (defaults to true).

Parameters:
showDirtyCells - true to display the dirty flag

setShowInvalidCells

public void setShowInvalidCells(boolean showInvalidCells)
True to enabled invalid cell markers (defaults to false).

Parameters:
showInvalidCells - true to enable

setSortingEnabled

public void setSortingEnabled(boolean sortable)
True to allow column sorting when the user clicks a column (defaults to true).

Parameters:
sortable - true for sortable columns

setViewConfig

public void setViewConfig(GridViewConfig viewConfig)
Sets the view config.

Parameters:
viewConfig - the view config

addRowStyle

protected void addRowStyle(com.google.gwt.dom.client.Element elem,
                           java.lang.String style)

afterRender

protected void afterRender()

applyEmptyText

protected void applyEmptyText()

autoExpand

protected void autoExpand(boolean preventUpdate)

calculateVBar

protected void calculateVBar(boolean force)

createComponentEvent

protected GridEvent<?> createComponentEvent(com.google.gwt.user.client.Event event)

createContextMenu

protected Menu createContextMenu(int colIndex)

detachWidget

protected void detachWidget(int rowIndex,
                            boolean remove)

detachWidgets

protected void detachWidgets(int startRow,
                             int endRow,
                             boolean remove)

doAttach

protected void doAttach()

doDetach

protected void doDetach()

doRender

protected java.lang.String doRender(java.util.List<ColumnData> cs,
                                    java.util.List<ModelData> rows,
                                    int startRow,
                                    int colCount,
                                    boolean stripe)

doSort

protected void doSort(int colIndex,
                      Style.SortDir sortDir)

fitColumns

protected void fitColumns(boolean preventRefresh,
                          boolean onlyExpand,
                          int omitColumn)

fly

protected El fly(com.google.gwt.dom.client.Element elem)

focusGrid

protected void focusGrid()

getCellIndex

protected int getCellIndex(com.google.gwt.dom.client.Element elem)

getColumnData

protected java.util.List<ColumnData> getColumnData()

getColumnStyle

protected java.lang.String getColumnStyle(int colIndex,
                                          boolean isHeader)

getColumnWidth

protected int getColumnWidth(int col)

getOffsetWidth

protected int getOffsetWidth()

getRenderedValue

protected java.lang.String getRenderedValue(ColumnData data,
                                            int rowIndex,
                                            int colIndex,
                                            ModelData m,
                                            java.lang.String property)

getRows

protected com.google.gwt.dom.client.NodeList<com.google.gwt.dom.client.Element> getRows()

getScrollAdjust

protected int getScrollAdjust()

getSortState

protected SortInfo getSortState()

getTotalWidth

protected int getTotalWidth()

getWidgetCell

protected com.google.gwt.dom.client.Element getWidgetCell(int row,
                                                          int cell)

handleComponentEvent

protected void handleComponentEvent(GridEvent ge)

hasRows

protected boolean hasRows()

init

protected void init(Grid grid)
Initializes the view.

Parameters:
grid - the grid

initData

protected void initData(ListStore ds,
                        ColumnModel cm)
Initializes the data.

Parameters:
ds - the data store
cm - the column model

initElements

protected void initElements()

initListeners

protected void initListeners()

initTemplates

protected void initTemplates()

initUI

protected void initUI(Grid<ModelData> grid)

insertRows

protected void insertRows(ListStore<ModelData> store,
                          int firstRow,
                          int lastRow,
                          boolean isUpdate)

layout

protected void layout(boolean skipResize)

newColumnHeader

protected ColumnHeader newColumnHeader()

notifyHide

protected void notifyHide()

notifyShow

protected void notifyShow()

onAdd

protected void onAdd(ListStore<ModelData> store,
                     java.util.List<ModelData> models,
                     int index)

onBeforeDataChanged

protected void onBeforeDataChanged(StoreEvent<ModelData> se)

onCellDeselect

protected void onCellDeselect(int row,
                              int col)

onCellSelect

protected void onCellSelect(int row,
                            int col)

onClear

protected void onClear(StoreEvent<ModelData> se)

onClick

protected void onClick(GridEvent<ModelData> ce)

onColumnMove

protected void onColumnMove(int newIndex)

onColumnSplitterMoved

protected void onColumnSplitterMoved(int colIndex,
                                     int width)

onColumnWidthChange

protected void onColumnWidthChange(int column,
                                   int width)

onDataChanged

protected void onDataChanged(StoreEvent<ModelData> se)

onHeaderChange

protected void onHeaderChange(int column,
                              java.lang.String text)

onHeaderClick

protected void onHeaderClick(Grid<ModelData> grid,
                             int column)

onHiddenChange

protected void onHiddenChange(ColumnModel cm,
                              int col,
                              boolean hidden)

onHighlightRow

protected void onHighlightRow(int rowIndex,
                              boolean highlight)

onMouseDown

protected void onMouseDown(GridEvent<ModelData> ge)

onRemove

protected void onRemove(ListStore<ModelData> ds,
                        ModelData m,
                        int index,
                        boolean isUpdate)

onRowDeselect

protected void onRowDeselect(int rowIndex)

onRowOut

protected void onRowOut(com.google.gwt.dom.client.Element row)

onRowOver

protected void onRowOver(com.google.gwt.dom.client.Element row)

onRowSelect

protected void onRowSelect(int rowIndex)

onUpdate

protected void onUpdate(ListStore<ModelData> store,
                        ModelData model)

prepareData

protected ModelData prepareData(ModelData model)

processRows

protected void processRows(int startRow,
                           boolean skipStripe)

refreshRow

protected void refreshRow(int row)

removeRow

protected void removeRow(int row)

removeRowStyle

protected void removeRowStyle(com.google.gwt.dom.client.Element row,
                              java.lang.String style)

render

protected void render()

renderFooter

protected void renderFooter()

renderHeader

protected void renderHeader()

renderRows

protected java.lang.String renderRows(int startRow,
                                      int endRow)

renderUI

protected void renderUI()

renderWidgets

protected void renderWidgets(int startRow,
                             int endRow)

resize

protected void resize()

restoreScroll

protected void restoreScroll(Point state)

stopEditing

protected void stopEditing()

syncHeaderScroll

protected void syncHeaderScroll()

syncHScroll

protected void syncHScroll()

syncScroll

protected void syncScroll()

templateAfterMove

protected void templateAfterMove(int index)

templateOnAllColumnWidthsUpdated

protected void templateOnAllColumnWidthsUpdated(java.util.List<java.lang.Integer> ws,
                                                int tw)

templateOnColumnHiddenUpdated

protected void templateOnColumnHiddenUpdated(int col,
                                             boolean hidden,
                                             int tw)

templateOnColumnWidthUpdated

protected void templateOnColumnWidthUpdated(int col,
                                            int w,
                                            int tw)

templateOnLayout

protected void templateOnLayout(int vw,
                                int vh)

templateUpdateColumnText

protected void templateUpdateColumnText(int col,
                                        java.lang.String text)

updateAllColumnWidths

protected void updateAllColumnWidths()

updateColumnHidden

protected void updateColumnHidden(int index,
                                  boolean hidden)

updateColumnWidth

protected void updateColumnWidth(int col,
                                 int width)

updateHeaderSortState

protected void updateHeaderSortState()

updateSortIcon

protected void updateSortIcon(int colIndex,
                              Style.SortDir dir)