JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table
Class JCTraverseCellAdapter

java.lang.Object
  |
  +--com.klg.jclass.table.JCTraverseCellAdapter
All Implemented Interfaces:
EventListener, JCTraverseCellListener

public abstract class JCTraverseCellAdapter
extends Object
implements JCTraverseCellListener

The adapter which receives JCTraverseCell 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.

See Also:
JCTraverseCellEvent

Constructor Summary
JCTraverseCellAdapter()
           
 
Method Summary
 void afterTraverseCell(com.klg.jclass.table.JCTraverseCellEvent e)
          Invoked after the cell is traversed to if all listeners notified through traverseCell accepted the destination.
 void traverseCell(com.klg.jclass.table.JCTraverseCellEvent e)
          Invoked before a cell is traversed to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCTraverseCellAdapter

public JCTraverseCellAdapter()
Method Detail

traverseCell

public void traverseCell(com.klg.jclass.table.JCTraverseCellEvent e)
Invoked before a cell is traversed to. The event's setCancelled method can be called to prevent the traversal, or the destination cell can be modified.

Specified by:
traverseCell in interface JCTraverseCellListener
Parameters:
e - The event generated by the traverse cell
See Also:
JCTraverseCellEvent.setCancelled(boolean), JCTraverseCellEvent.setNextRow(int), JCTraverseCellEvent.setNextColumn(int)

afterTraverseCell

public void afterTraverseCell(com.klg.jclass.table.JCTraverseCellEvent e)
Invoked after the cell is traversed to if all listeners notified through traverseCell accepted the destination. If a listener cancelled the traversal in traverseCell, afterTraverseCell will be called with the cancelled flag set and the destination will be the same as the source location.

Specified by:
afterTraverseCell in interface JCTraverseCellListener
Parameters:
e - The event generated by the traverse cell
See Also:
traverseCell(com.klg.jclass.table.JCTraverseCellEvent), JCTraverseCellEvent.isCancelled()

Copyright © 2004 Quest Software Inc..
All rights reserved.