|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableShape<S extends Shape<S,P>,P extends TextParagraph<S,P,?>>
Method Summary | |
---|---|
TableCell<S,P> |
getCell(int row,
int col)
Gets a cell |
double |
getColumnWidth(int idx)
Gets the width (in points) of the n-th column |
int |
getNumberOfColumns()
Return the maximum number of columns. |
int |
getNumberOfRows()
Return the number of rows |
double |
getRowHeight(int row)
Gets the row height |
void |
setColumnWidth(int idx,
double width)
Sets the width (in points) of the n-th column |
void |
setRowHeight(int row,
double height)
Sets the row height. |
Methods inherited from interface org.apache.poi.sl.usermodel.Shape |
---|
draw, getAnchor, getParent, getSheet |
Methods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape |
---|
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation |
Method Detail |
---|
int getNumberOfColumns()
int getNumberOfRows()
TableCell<S,P> getCell(int row, int col)
row
- the row index (0-based)col
- the column index (0-based)
double getColumnWidth(int idx)
idx
- the column index (0-based)
void setColumnWidth(int idx, double width)
idx
- the column index (0-based)width
- the width (in points)double getRowHeight(int row)
row
- the row index (0-based)
void setRowHeight(int row, double height)
row
- the row index (0-based)height
- the height to set (in points)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |