|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jopendocument.dom.spreadsheet.Range
public final class Range
A cell range.
Constructor Summary | |
---|---|
Range(String sheet,
Point point)
Create a new instance with a single cell. |
|
Range(String sheet,
Point startPoint,
Point endPoint)
|
|
Range(String startSheet,
Point startPoint,
String endSheet,
Point endPoint)
Create a new instance. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Point |
getEndPoint()
|
String |
getEndSheet()
|
Point |
getStartPoint()
|
String |
getStartSheet()
|
int |
hashCode()
|
static Range |
parse(String range)
Parse a range. |
boolean |
spanSheets()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Range(String sheet, Point point)
sheet
- name of the sheet.point
- coordinate of the cell.public Range(String sheet, Point startPoint, Point endPoint)
public Range(String startSheet, Point startPoint, String endSheet, Point endPoint)
startSheet
- name of the start sheet.startPoint
- coordinate of the start.endSheet
- name of the end sheet, can be null
if the range doesn't span
multiple sheets.endPoint
- coordinate of the end.Method Detail |
---|
public static final Range parse(String range)
range
- the string form, e.g. "Sheet1.A23:.AA34".
public final String getStartSheet()
public final Point getStartPoint()
public final String getEndSheet()
public final Point getEndPoint()
public final boolean spanSheets()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |