com.jrefinery.workbook
Class Selection
java.lang.Object
|
+--com.jrefinery.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 |
void |
writeSelection(java.io.PrintStream out,
java.lang.String indent)
Writes a selection element to the stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.
writeSelection
public void writeSelection(java.io.PrintStream out,
java.lang.String indent)
- Writes a selection element to the stream.