|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aspose.pdf.elements.PdfElementBase com.aspose.pdf.elements.Row
public class Row
Repserents a row in a Table.
Constructor Summary | |
---|---|
Row(Table table)
Initializes a new instance of the Row class in a table. |
Method Summary | |
---|---|
Color |
getBackGroundColor()
Gets a Color object that indicatres the backgorund 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. |
int |
getCellsSize()
Gets cells number in this row. |
TextInfo |
getDefaultCellTextInfo()
Gets a TextInfo object that indicates the text format info of the row. If you want to set text format for all cells that have already been added to the row, please do not set it directly but follow the method in the example. |
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
float |
getFixedRowHeight()
Gets a float value that indicates the fixed row height. If the fixed row height is set too mall, it will be enlarged automatically. |
Table |
getParentTable()
Gets the Row object's table. |
java.lang.String |
getVerticalAlignment()
Gets a VerticalAlignmentType value that indicates the vertical alignment type. |
boolean |
isDisabled()
Gets a bool value that indicates whether this row is disabled. The default value is false. |
Row |
setBackGroundColor(Color color)
Sets a Color object that indicatres the backgorund color of the row. |
void |
setBorder(BorderInfo info)
Sets a BorderInfo object that indicates the row border info. |
void |
setDefaultCellTextInfo(TextInfo textInfo)
Sets a TextInfo object that indicates the text format info of the row. If you want to set text format for all cells that have already been added to the row, please do not set it directly but follow the method in the example. |
void |
setFixedRowHeight(float fixedRowHeight)
Sets a float value that indicates the fixed row height. If the fixed row height is set too mall, it will be enlarged automatically. |
void |
setIsDisabled(boolean disabled)
Sets a bool value that indicates whether this row is disabled. The default value is false. |
void |
setVerticalAlignment(java.lang.String alignment)
Sets a VerticalAlignmentType value that indicates the vertical alignment type. |
Methods inherited from class com.aspose.pdf.elements.PdfElementBase |
---|
clone, getElementFactory, getID, getNameIndex, setID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Row(Table table)
Method Detail |
---|
public Color getBackGroundColor()
public Row setBackGroundColor(Color color)
color
- The BackGroundColor to set.public java.lang.String getVerticalAlignment()
public void setVerticalAlignment(java.lang.String alignment)
alignment
- The VerticalAlignment to set.VerticalAlignmentType
public TextInfo getDefaultCellTextInfo()
public void setDefaultCellTextInfo(TextInfo textInfo)
public boolean isDisabled()
public void setIsDisabled(boolean disabled)
disabled
- The IsDisabled to set.public float getFixedRowHeight()
public void setFixedRowHeight(float fixedRowHeight)
fixedRowHeight
- The FixedRowHeight to set.public Cells getCells()
public int getCellsSize()
public BorderInfo getBorder()
public void setBorder(BorderInfo info)
info
- The BorderInfo to set.public Table getParentTable()
public org.w3c.dom.Element getDOMElement() throws AsposeBaseException
PdfElementBase
getDOMElement
in class PdfElementBase
AsposeBaseException
PdfElementBase.getDOMElement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |