com.eliad.swing
Class GridAdapter

java.lang.Object
  |
  +--com.eliad.swing.GridAdapter

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

An adapter calls above GridListener that allows only the method or methods of interest to be overloaded.


Constructor Summary
GridAdapter()
           
 
Method Summary
 void gridFocusGained(GridEvent e)
          Invoked when the focus enters a cell.
 void gridFocusLost(GridEvent e)
          Invoked when the focus exits a cell.
 void gridMouseClicked(GridEvent e)
          Invoked when the mouse is clicked on a cell.
 void gridMouseDragged(GridEvent e)
          Invoked when the mouse is dragged over a cell.
 void gridMouseEntered(GridEvent e)
          Invoked when the mouse enters a cell.
 void gridMouseExited(GridEvent e)
          Invoked when the mouse exits a cell.
 void gridMouseMoved(GridEvent e)
          Invoked when the mouse is moved over a cell.
 void gridMousePressed(GridEvent e)
          Invoked when a mouse button is pressed on a cell.
 void gridMouseReleased(GridEvent e)
          Invoked when a mouse button is released on 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

gridMouseClicked

public void gridMouseClicked(GridEvent e)
Invoked when the mouse is clicked on a cell.
Specified by:
gridMouseClicked in interface GridListener

gridMousePressed

public void gridMousePressed(GridEvent e)
Invoked when a mouse button is pressed on a cell.
Specified by:
gridMousePressed in interface GridListener

gridMouseReleased

public void gridMouseReleased(GridEvent e)
Invoked when a mouse button is released on a cell.
Specified by:
gridMouseReleased in interface GridListener

gridMouseEntered

public void gridMouseEntered(GridEvent e)
Invoked when the mouse enters a cell.
Specified by:
gridMouseEntered in interface GridListener

gridMouseExited

public void gridMouseExited(GridEvent e)
Invoked when the mouse exits a cell.
Specified by:
gridMouseExited in interface GridListener

gridMouseDragged

public void gridMouseDragged(GridEvent e)
Invoked when the mouse is dragged over a cell.
Specified by:
gridMouseDragged in interface GridListener

gridMouseMoved

public void gridMouseMoved(GridEvent e)
Invoked when the mouse is moved over a cell.
Specified by:
gridMouseMoved in interface GridListener

gridFocusLost

public void gridFocusLost(GridEvent e)
Invoked when the focus exits a cell.
Specified by:
gridFocusLost in interface GridListener

gridFocusGained

public void gridFocusGained(GridEvent e)
Invoked when the focus enters a cell.
Specified by:
gridFocusGained in interface GridListener