org.jfree.workbook
Class Selection

java.lang.Object
  |
  +--org.jfree.workbook.Selection

public class Selection
extends java.lang.Object

Stores information on a selection range in a worksheet.


Field Summary
protected  int endColumn
          The end column for the selection.
protected  int endRow
          The end row for the selection.
protected  int startColumn
          The start column for the selection.
protected  int startRow
          The start row for the selection.
 
Constructor Summary
Selection(int startColumn, int startRow, int endColumn, int endRow)
          Standard constructor.
 
Method Summary
 int getEndColumn()
          Returns the selection's end column.
 int getEndRow()
          Returns the selection's end row.
 int getStartColumn()
          Returns the selection's start column.
 int getStartRow()
          Returns the selection's start row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startColumn

protected int startColumn
The start column for the selection.


startRow

protected int startRow
The start row for the selection.


endColumn

protected int endColumn
The end column for the selection.


endRow

protected int endRow
The end row for the selection.

Constructor Detail

Selection

public Selection(int startColumn,
                 int startRow,
                 int endColumn,
                 int endRow)
Standard constructor.

Parameters:
startColumn - the start column.
startRow - the start row.
endColumn - the end column.
endRow - the end row.
Method Detail

getStartColumn

public int getStartColumn()
Returns the selection's start column.

Returns:
The column.

getStartRow

public int getStartRow()
Returns the selection's start row.

Returns:
The row.

getEndColumn

public int getEndColumn()
Returns the selection's end column.

Returns:
The column.

getEndRow

public int getEndRow()
Returns the selection's end row.

Returns:
The row.