dsto.dfc.swing.table
Class DfcTable.RectSelection

java.lang.Object
  extended by dsto.dfc.swing.table.DfcTable.RectSelection
Enclosing class:
DfcTable

protected static final class DfcTable.RectSelection
extends Object

Represents a selection of rows, columns or a rectangular selection of cells.


Field Summary
 int endColumn
           
 int endRow
           
 int startColumn
           
 int startRow
           
 
Constructor Summary
protected DfcTable.RectSelection()
           
 
Method Summary
 boolean isCellSelection()
          True if selection is a rectangle of cells.
 boolean isEmpty()
           
 boolean isInRange(TableModel model)
           
 boolean isRowSelection()
          True if selection is a series of rows (ie all columns selected).
 void setCellSelection()
           
 void setColumnSelection()
           
 void setRowSelection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startRow

public int startRow

endRow

public int endRow

startColumn

public int startColumn

endColumn

public int endColumn
Constructor Detail

DfcTable.RectSelection

protected DfcTable.RectSelection()
Method Detail

isEmpty

public boolean isEmpty()

setColumnSelection

public void setColumnSelection()

setRowSelection

public void setRowSelection()

setCellSelection

public void setCellSelection()

isRowSelection

public boolean isRowSelection()
True if selection is a series of rows (ie all columns selected). Selection may still be empty.


isCellSelection

public boolean isCellSelection()
True if selection is a rectangle of cells. Selection may still be empty.


isInRange

public boolean isInRange(TableModel model)


Copyright © 2008 Commonwealth of Australia