|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.Row
public class Row
Repserents a row in a Table
.
Typical usages are the following:
Field Summary | |
---|---|
int |
index
|
boolean |
isPositionGot
|
Constructor Summary | |
---|---|
Row(Table table)
Initializes a new instance of the Row class in a table. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones a new Row object. |
java.lang.Object |
completeClone()
Clones a new Row object. |
Color |
getBackgroundColor()
Gets a Color object that indicates the background color of the
row. |
BorderInfo |
getBorder()
Gets a BorderInfo object that indicates the row border info. |
Cells |
getCells()
Gets a Cells collection that indicates all cells in the row. |
BorderInfo |
getDefaultCellBorder()
Gets a BorderInfo object that indicates the default border style
for all cells in this row. |
TextInfo |
getDefaultCellTextInfo()
Gets a TextInfo object that indicates the text format info of the row. |
float |
getFixedRowHeight()
Gets a float value that indicates the fixed row height. |
float |
getHeight()
Represents a float value that indicates the row height. |
float |
getHeight(Pdf doc)
Gets the row height. |
float |
getHeightWithoutRowSpan(Pdf doc)
Get float row span height. |
java.lang.String |
getID()
Gets a String that indicates the ID of the cell. |
boolean |
getIsBorderSetbyUser()
Gets a boolean value that indicates the Border of the Row in
Table has been set by user. |
boolean |
getIsDefaultBorderSetbyUser()
Get a boolean value that indicates the Default BorderInfo of the Row has been set by user. |
float |
getPosX()
Represents a float value that indicates the x-coordinate of the row beginning position. |
float |
getPosY()
Represents a float value that indicates the y-coordinate of the row beginning position. |
float |
getRowHeight()
Gets a float value that indicates the Row height |
Cells |
getRowSpanRefCells()
get Row span Cells |
float |
getRowWidth()
Gets a float value that indicates the Row width |
Table |
getTable()
Gets a Table reference which indicates where the row is in. |
VerticalAlignmentType |
getVerticalAlignment()
Gets a VerticalAlignmentType object that indicates the vertical
alignment type of all cells in this row. |
Cells |
getVirtualCells()
get virtual cell |
float |
getWidth()
Represents a float value that indicates the row width. |
boolean |
isBroken()
Gets a boolean value that indicates whether the row can be broken or not when the row spans two pages. |
boolean |
isDisabled()
Gets a boolean value that indicates whether this row is disabled. |
boolean |
isInNewPage()
Gets a boolean value that indicates whether to split the table from this row and display the subsequent rows on the next page. |
boolean |
isKeptWithNext()
Gets a boolean value that indicates whether this row is kept with next page. |
boolean |
isVerticalAlignmentSet()
Gets a VerticalAlignmentType object that indicates the vertical
alignment type of all cells in this row. |
void |
setBackgroundColor(Color backColor)
Sets a Color object that indicates the background color of the
row. |
void |
setBorder(BorderInfo rowBorder)
Sets a BorderInfo object that indicates the row border info. |
void |
setCells(Cells cellsInRow)
Sets a Cells collection that indicates all cells in the row. |
void |
setDefaultCellBorder(BorderInfo defaultCellsBorder)
Sets a BorderInfo object that indicates the default border style
for all cells in this row. |
void |
setDefaultCellTextInfo(TextInfo rowTextInfo)
Sets a TextInfo object that indicates the text format info of the row. |
void |
setFixedRowHeight(float fixedHeight)
Sets a float value that indicates the fixed row height. |
void |
setHeight(float rowHeight)
Represents a float value that indicates the row height. |
void |
setID(java.lang.String cellID)
Sets a String that indicates the ID of the cell. |
void |
setIsBorderSetbyUser(boolean isBorderSetbyUser)
Sets a boolean value that indicates the Border of the Row in
Table has been set by user. |
void |
setIsBroken(boolean isBroken)
Sets a boolean value that indicates whether the row can be broken or not when the row spans two pages. |
void |
setIsDefaultBorderSetbyUser(boolean isDefaultBorderSetbyUser)
set a boolean value that indicates the Default BorderInfo of the Row has been set by user. |
void |
setIsDisabled(boolean isDisabled)
Sets a boolean value that indicates whether this row is disabled. |
void |
setIsInNewPage(boolean isInNewPage)
Sets a boolean value that indicates whether to split the table from this row and display the subsequent rows on the next page. |
void |
setPosX(float posX)
Represents a float value that indicates the x-coordinate of the row beginning position. |
void |
setPosY(float posY)
Represents a float value that indicates the y-coordinate of the row beginning position. |
void |
setRowHeight(float rowHeight)
Sets a float value that indicates the Row height |
void |
setRowSpanRefCells(Cells RowSpanRefCells)
set RowSpan reference Cells |
void |
setRowWidth(float rowWidth)
Sets a float value that indicates the Row width |
void |
setTable(Table tableIn)
Sets a Table reference which indicates where the row is in. |
void |
setVerticalAlignment(VerticalAlignmentType verticalAlignment)
Sets a VerticalAlignmentType object that indicates the vertical
alignment type of all cells in this row. |
void |
setVirtualCells(Cells VirtualCells)
set virtual cell |
void |
setWidth(float rowWidth)
Represents a float value that indicates the row width. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int index
public boolean isPositionGot
Constructor Detail |
---|
public Row(Table table)
Row
class in a table.
Method Detail |
---|
public boolean getIsBorderSetbyUser()
Row
in
Table
has been set by user.
public void setIsBorderSetbyUser(boolean isBorderSetbyUser)
Row
in
Table
has been set by user.
isBorderSetbyUser
- public BorderInfo getBorder()
BorderInfo
object that indicates the row border info.
public void setBorder(BorderInfo rowBorder)
BorderInfo
object that indicates the row border info.
rowBorder
- public float getRowHeight()
Row
height
Row
heightpublic void setRowHeight(float rowHeight)
Row
height
rowHeight
- public float getHeight()
public void setHeight(float rowHeight)
rowHeight
- public float getRowWidth()
Row
width
Row
heightpublic void setRowWidth(float rowWidth)
Row
width
rowWidth
- public float getWidth()
public void setWidth(float rowWidth)
rowWidth
- public float getPosX()
public void setPosX(float posX)
posX
- public float getPosY()
public void setPosY(float posY)
posY
- public Cells getCells()
Cells
collection that indicates all cells in the row.
public void setCells(Cells cellsInRow)
cellsInRow
- public Cells getRowSpanRefCells()
public void setRowSpanRefCells(Cells RowSpanRefCells)
RowSpanRefCells
- public java.lang.String getID()
public void setID(java.lang.String cellID)
cellID
- public Table getTable()
Table
reference which indicates where the row is in. This
property is used in api mode.
public void setTable(Table tableIn)
Table
reference which indicates where the row is in. This
property is used in api mode.
tableIn
- public TextInfo getDefaultCellTextInfo()
public void setDefaultCellTextInfo(TextInfo rowTextInfo)
rowTextInfo
- public boolean getIsDefaultBorderSetbyUser()
Row
has been set by user.
Row
has been set by user.public void setIsDefaultBorderSetbyUser(boolean isDefaultBorderSetbyUser)
Row
has been set by user.
isDefaultBorderSetbyUser
- public BorderInfo getDefaultCellBorder()
BorderInfo
object that indicates the default border style
for all cells in this row.
public void setDefaultCellBorder(BorderInfo defaultCellsBorder)
BorderInfo
object that indicates the default border style
for all cells in this row.
defaultCellsBorder
- public VerticalAlignmentType getVerticalAlignment()
VerticalAlignmentType
object that indicates the vertical
alignment type of all cells in this row.
public void setVerticalAlignment(VerticalAlignmentType verticalAlignment)
VerticalAlignmentType
object that indicates the vertical
alignment type of all cells in this row.
public boolean isVerticalAlignmentSet()
VerticalAlignmentType
object that indicates the vertical
alignment type of all cells in this row.
public float getFixedRowHeight()
public void setFixedRowHeight(float fixedHeight)
fixedHeight
- public java.lang.Object clone()
Row
object. This method clones only the format but
not contents of the Row.
clone
in class java.lang.Object
public java.lang.Object completeClone()
Row
object. This method clones both format and
contents of the Row.
public boolean isDisabled()
public void setIsDisabled(boolean isDisabled)
isDisabled
- public boolean isKeptWithNext()
public boolean isInNewPage()
public void setIsInNewPage(boolean isInNewPage)
isInNewPage
- public Color getBackgroundColor()
Color
object that indicates the background color of the
row.
public void setBackgroundColor(Color backColor)
Color
object that indicates the background color of the
row.
backColor
- public boolean isBroken()
public void setIsBroken(boolean isBroken)
isBroken
- public float getHeight(Pdf doc)
Row
object is added into Table
object. Image in
table will be ignored.
doc
- The Pdf object.
public float getHeightWithoutRowSpan(Pdf doc)
doc
-
public Cells getVirtualCells()
public void setVirtualCells(Cells VirtualCells)
VirtualCells
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |