com.jzy3d.surfedit.swing.table.events
Class AbstractTableSelectionListener

java.lang.Object
  extended by com.jzy3d.surfedit.swing.table.events.AbstractTableSelectionListener
All Implemented Interfaces:
EventListener, ListSelectionListener

public abstract class AbstractTableSelectionListener
extends Object
implements ListSelectionListener

A helper class that allows to get notified once the table is selected, but the value remain unchanged.

Author:
Martin Pernollet

Field Summary
protected  SurfEditTableLayout layout
           
protected  JTable table
           
 
Constructor Summary
AbstractTableSelectionListener(JTable table, SurfEditTableLayout layout)
           
 
Method Summary
abstract  void cellSelected(int i, int j)
           
 void valueChanged(ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layout

protected SurfEditTableLayout layout

table

protected JTable table
Constructor Detail

AbstractTableSelectionListener

public AbstractTableSelectionListener(JTable table,
                                      SurfEditTableLayout layout)
Method Detail

valueChanged

public void valueChanged(ListSelectionEvent e)
Specified by:
valueChanged in interface ListSelectionListener

cellSelected

public abstract void cellSelected(int i,
                                  int j)


Copyright © 2014. All rights reserved.