org.jfree.workbook
Class Selections

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

public class Selections
extends java.lang.Object

Stores information about all the selection ranges in a worksheet.


Field Summary
protected  int cursorColumn
          The column in which the cursor is located.
protected  int cursorRow
          The row in which the cursor is located.
protected  java.util.List selections
          A list of all selections.
 
Constructor Summary
Selections()
          Default constructor.
 
Method Summary
 int getCursorColumn()
          Returns the cursor column.
 int getCursorRow()
          Returns the cursor row.
 java.util.Iterator getIterator()
          Returns an iterator that provides access to the selections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cursorColumn

protected int cursorColumn
The column in which the cursor is located.


cursorRow

protected int cursorRow
The row in which the cursor is located.


selections

protected java.util.List selections
A list of all selections.

Constructor Detail

Selections

public Selections()
Default constructor.

Method Detail

getCursorColumn

public int getCursorColumn()
Returns the cursor column.

Returns:
The column.

getCursorRow

public int getCursorRow()
Returns the cursor row.

Returns:
The row.

getIterator

public java.util.Iterator getIterator()
Returns an iterator that provides access to the selections.

Returns:
The iterator.