com.google.gwt.widgetideas.table.client
Interface HoverGridListener


public interface HoverGridListener

Event listener interface for FixedWidthGrid events.


Method Summary
 void onAllRowsDeselected()
          Fired when all rows are deselected.
 void onCellClicked(int row, int cell)
          Fired when a cell is clicked.
 void onCellHover(int row, int cell)
          Fired when a cell is hovered.
 void onCellUnhover(int row, int cell)
          Fired when a cell is unhovered.
 void onRowDeselected(int row)
          Fired when a single row is deselected.
 void onRowHover(int row)
          Fired when a row is hovered.
 void onRowsSelected(int firstRow, int numRows)
          Fired when one or more rows are selected.
 void onRowUnhover(int row)
          Fired when a row is unhovered.
 

Method Detail

onAllRowsDeselected

void onAllRowsDeselected()
Fired when all rows are deselected.


onCellClicked

void onCellClicked(int row,
                   int cell)
Fired when a cell is clicked.

Parameters:
row - the row index
cell - the cell index

onCellHover

void onCellHover(int row,
                 int cell)
Fired when a cell is hovered.

Parameters:
row - the row index
cell - the cell index

onCellUnhover

void onCellUnhover(int row,
                   int cell)
Fired when a cell is unhovered.

Parameters:
row - the row index
cell - the cell index

onRowDeselected

void onRowDeselected(int row)
Fired when a single row is deselected. This method will not fire when all rows are deselected. In that case, use the onAllRowsDeselected events.

Parameters:
row - the row index

onRowHover

void onRowHover(int row)
Fired when a row is hovered.

Parameters:
row - the row index

onRowsSelected

void onRowsSelected(int firstRow,
                    int numRows)
Fired when one or more rows are selected.

Parameters:
firstRow - the row index of the first row
numRows - the number of selected rows

onRowUnhover

void onRowUnhover(int row)
Fired when a row is unhovered.

Parameters:
row - the row index