org.springframework.richclient.table
Class VisibleTableModelEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.swing.event.TableModelEvent
          extended by org.springframework.richclient.table.VisibleTableModelEvent
All Implemented Interfaces:
Serializable

public class VisibleTableModelEvent
extends TableModelEvent

VisibleTableModelEvent adds the method isVisible to test if the cell identified by the event is visible.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.event.TableModelEvent
ALL_COLUMNS, column, DELETE, firstRow, HEADER_ROW, INSERT, lastRow, type, UPDATE
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
VisibleTableModelEvent(TableModel source)
           
 
Method Summary
 boolean isVisible(JTable table)
           
 void reset()
          Invoked to indicate the visible rows/columns need to be recalculated again.
 void set(int row, int col)
          Resets the underlying fields of the TableModelEvent.
 
Methods inherited from class javax.swing.event.TableModelEvent
getColumn, getFirstRow, getLastRow, getType
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VisibleTableModelEvent

public VisibleTableModelEvent(TableModel source)
Method Detail

set

public void set(int row,
                int col)
Resets the underlying fields of the TableModelEvent. This assumes no ONE is going to cache the TableModelEvent.


reset

public void reset()
Invoked to indicate the visible rows/columns need to be recalculated again.


isVisible

public boolean isVisible(JTable table)


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.