com.jrefinery.workbook
Class Selections

java.lang.Object
  |
  +--com.jrefinery.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.ArrayList selections
          A list of all selections.
 
Constructor Summary
Selections()
          Default constructor.
 
Method Summary
 void writeSelections(java.io.PrintStream out, java.lang.String indent)
          Writes a selections element to the stream.
 
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.ArrayList selections
A list of all selections.
Constructor Detail

Selections

public Selections()
Default constructor.
Method Detail

writeSelections

public void writeSelections(java.io.PrintStream out,
                            java.lang.String indent)
Writes a selections element to the stream.
Parameters:
out - The output stream.
indent - The indentation.