CoffeeTable.Grid
Class GridAdapter

java.lang.Object
  |
  +--CoffeeTable.Grid.GridAdapter

public abstract class GridAdapter
extends java.lang.Object
implements GridListener

The adapter which receives grid events. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.

Version:
2.1.3 of October 1, 1999 Copyright © 1996-1999 3Magic

Constructor Summary
GridAdapter()
           
 
Method Summary
 void gridCancelEdit(GridEvent e)
          Invoked when editing ends in a cell, and the changes are canceled.
 void gridCellsClicked(GridEvent e)
          Invoked when a Grid cell or cells are clicked.
 void gridCellsReleased(GridEvent e)
          Invoked when the mouse is released after a cell click.
 void gridCommitEdit(GridEvent e)
          Invoked when editing ends in a cell, and the changes are committed.
 void gridDoubleClicked(GridEvent e)
          Invoked when a Grid cell is double-clicked.
 void gridResizeCol(GridEvent e)
          Invoked when the user resizes a column.
 void gridResizeRow(GridEvent e)
          Invoked when the user resizes a row.
 void gridSelChanged(GridEvent e)
          Invoked when the Grid's selection changes.
 void gridSortColumn(GridEvent e)
          Invoked when the user clicks on a column header and sort on a column.
 void gridStartEdit(GridEvent e)
          Invoked when editing is activated in a cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridAdapter

public GridAdapter()
Method Detail

gridCellsClicked

public void gridCellsClicked(GridEvent e)
Description copied from interface: GridListener
Invoked when a Grid cell or cells are clicked.
Specified by:
gridCellsClicked in interface GridListener

gridDoubleClicked

public void gridDoubleClicked(GridEvent e)
Description copied from interface: GridListener
Invoked when a Grid cell is double-clicked.
Specified by:
gridDoubleClicked in interface GridListener

gridCellsReleased

public void gridCellsReleased(GridEvent e)
Description copied from interface: GridListener
Invoked when the mouse is released after a cell click.
Specified by:
gridCellsReleased in interface GridListener

gridStartEdit

public void gridStartEdit(GridEvent e)
Description copied from interface: GridListener
Invoked when editing is activated in a cell.
Specified by:
gridStartEdit in interface GridListener

gridCommitEdit

public void gridCommitEdit(GridEvent e)
Description copied from interface: GridListener
Invoked when editing ends in a cell, and the changes are committed.
Specified by:
gridCommitEdit in interface GridListener

gridCancelEdit

public void gridCancelEdit(GridEvent e)
Description copied from interface: GridListener
Invoked when editing ends in a cell, and the changes are canceled.
Specified by:
gridCancelEdit in interface GridListener

gridResizeRow

public void gridResizeRow(GridEvent e)
Description copied from interface: GridListener
Invoked when the user resizes a row.
Specified by:
gridResizeRow in interface GridListener

gridResizeCol

public void gridResizeCol(GridEvent e)
Description copied from interface: GridListener
Invoked when the user resizes a column.
Specified by:
gridResizeCol in interface GridListener

gridSortColumn

public void gridSortColumn(GridEvent e)
Description copied from interface: GridListener
Invoked when the user clicks on a column header and sort on a column.
Specified by:
gridSortColumn in interface GridListener

gridSelChanged

public void gridSelChanged(GridEvent e)
Description copied from interface: GridListener
Invoked when the Grid's selection changes.
Specified by:
gridSelChanged in interface GridListener