public class Range
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
colToString(int c)
Convert a column index to a column name.
|
boolean |
contains(int r,
int c)
Check if this range contains the given cell coordinates.
|
boolean |
equals(java.lang.Object obj) |
int |
getBottom()
Get bottom row.
|
int |
getLeft()
Get left column.
|
int |
getRight()
Get right column.
|
int |
getTop()
Get top row.
|
Worksheet |
getWorksheet()
Get parent worksheet.
|
int |
hashCode() |
void |
merge()
Merge cells within this range.
|
void |
shadeAlternateRows(top.jfunc.common.fastexcel.Fill fill)
Apply shading to alternate rows in this range with the given fill
pattern.
|
StyleSetter |
style()
Get a new style setter for this range.
|
java.lang.String |
toString() |
public Worksheet getWorksheet()
public int getTop()
public int getLeft()
public int getBottom()
public int getRight()
public int hashCode()
hashCode 在类中 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals 在类中 java.lang.Objectpublic static java.lang.String colToString(int c)
c - Zero-based column index.public java.lang.String toString()
toString 在类中 java.lang.Objectpublic StyleSetter style()
public void merge()
public boolean contains(int r,
int c)
r - Zero-based row number.c - Zero-based column number.true if this range contains the given cell coordinates.public void shadeAlternateRows(top.jfunc.common.fastexcel.Fill fill)
fill - Fill pattern.