|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.extentech.ExtenXLS.RowHandle
public class RowHandle
The RowHandle provides access to a Worksheet Row and its Cells.
Use the RowHandle to work with individual Rows in an XLS file.
With a RowHandle you can:
get a handle to the Cells in a row
set the default formatting for a Row
WorkBookHandle,
WorkSheetHandle,
FormulaHandle| Field Summary | |
|---|---|
com.extentech.formats.XLS.Row |
myRow
|
| Method Summary | |
|---|---|
boolean |
containsVerticalMergeRange()
Determines if the row passes through a vertical merge range |
CellHandle[] |
getCells()
Returns the array of Cells in this Row |
CellHandle[] |
getCells(boolean cached)
Returns the array of Cells in this Row |
int[] |
getColDimensions()
return the min/max columns defined for this row |
FormatHandle |
getFormatHandle()
Gets the FormatHandle for this Row. |
int |
getFormatId()
gets the current default row format id. |
int |
getHeight()
Return the row height of an existing row. |
static int |
getHeight(com.extentech.formats.XLS.Boundsheet sheet,
int row)
Return the row height of an existing row. |
int |
getHeightInChars()
returns the row height in Excel units |
String |
getJSON()
Get the JSON object for this row. |
int |
getOutlineLevel()
Returns the Outline level (depth) of the row |
int |
getRowNumber()
Returns the row number of this RowHandle |
boolean |
isCollapsed()
Returns whether the row is collapsed |
boolean |
isHidden()
Returns whether the row is hidden |
void |
setBackgroundColor(Color colr)
|
void |
setCollapsed(boolean b)
Set whether the row is collapsed. |
void |
setFormatId(int i)
sets the default format id for the Row's Cells |
void |
setHeight(int newHeight)
Sets the row height in twips (1/20th of a point) |
void |
setHeightInChars(int newHeight)
sets the row height in Excel units. |
void |
setHidden(boolean b)
Set whether the row is hidden |
void |
setOutlineLevel(int x)
Set the Outline level (depth) of the row |
String |
toString()
Returns the String representation of this Row |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public com.extentech.formats.XLS.Row myRow
| Method Detail |
|---|
public int getHeight()
public int getHeightInChars()
public static int getHeight(com.extentech.formats.XLS.Boundsheet sheet,
int row)
sheet - row -
public void setHeightInChars(int newHeight)
double - i - row height value in Excel unitspublic void setHeight(int newHeight)
newHeight - public boolean containsVerticalMergeRange()
public void setFormatId(int i)
int - Format Id for all Cells in Rowpublic FormatHandle getFormatHandle()
public int getFormatId()
public CellHandle[] getCells(boolean cached)
cache - cellhandles flag
public CellHandle[] getCells()
public String getJSON()
public String toString()
toString in class Objectpublic int getRowNumber()
public void setCollapsed(boolean b)
x - public void setHidden(boolean b)
b - public void setOutlineLevel(int x)
x - public int getOutlineLevel()
public boolean isCollapsed()
public boolean isHidden()
public void setBackgroundColor(Color colr)
public int[] getColDimensions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||