|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.tool.xml.html.table.TableStyleValues
public class TableStyleValues
Class is used for storing style values of a table or cell. The stored style values are used when drawing the borders and background colors of tables or cells.
| Constructor Summary | |
|---|---|
TableStyleValues()
Default constructor. |
|
| Method Summary | |
|---|---|
BaseColor |
getBackground()
Get background color. |
BaseColor |
getBorderColorBottom()
|
BaseColor |
getBorderColorLeft()
|
BaseColor |
getBorderColorRight()
|
BaseColor |
getBorderColorTop()
|
float |
getBorderWidthBottom()
|
float |
getBorderWidthLeft()
|
float |
getBorderWidthRight()
|
float |
getBorderWidthTop()
|
float |
getHorBorderSpacing()
|
float |
getVerBorderSpacing()
|
boolean |
isLastInRow()
Only used by cells. |
void |
setBackground(BaseColor background)
Sets background color. |
void |
setBorderColor(BaseColor color)
Sets the border color for the entire table or cell. |
void |
setBorderColorBottom(BaseColor borderBottomColor)
|
void |
setBorderColorLeft(BaseColor borderLeftColor)
|
void |
setBorderColorRight(BaseColor borderRightColor)
|
void |
setBorderColorTop(BaseColor borderTopColor)
|
void |
setBorderWidth(float width)
Sets the border width for the entire table or cell. |
void |
setBorderWidthBottom(float borderBottomWidth)
|
void |
setBorderWidthLeft(float borderLeftWidth)
|
void |
setBorderWidthRight(float borderRightWidth)
|
void |
setBorderWidthTop(float borderTopWidth)
|
void |
setHorBorderSpacing(float horBorderSpacing)
|
void |
setLastInRow(boolean isLastInRow)
Only used by cells. |
void |
setVerBorderSpacing(float verBorderSpacing)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableStyleValues()
| Method Detail |
|---|
public float getHorBorderSpacing()
public void setHorBorderSpacing(float horBorderSpacing)
horBorderSpacing - the spacingpublic void setVerBorderSpacing(float verBorderSpacing)
verBorderSpacing - the spacingpublic float getVerBorderSpacing()
public void setLastInRow(boolean isLastInRow)
isLastInRow - boolean.public boolean isLastInRow()
public float getBorderWidthLeft()
public void setBorderWidthLeft(float borderLeftWidth)
borderLeftWidth - the borderLeftWidth to setpublic BaseColor getBorderColorLeft()
public void setBorderColorLeft(BaseColor borderLeftColor)
borderLeftColor - the borderLeftColor to setpublic float getBorderWidthRight()
public void setBorderWidthRight(float borderRightWidth)
borderRightWidth - the borderRightWidth to setpublic BaseColor getBorderColorRight()
public void setBorderColorRight(BaseColor borderRightColor)
borderRightColor - the borderRightColor to setpublic float getBorderWidthTop()
public void setBorderWidthTop(float borderTopWidth)
borderTopWidth - the borderTopWidth to setpublic BaseColor getBorderColorTop()
public void setBorderColorTop(BaseColor borderTopColor)
borderTopColor - the borderTopColor to setpublic float getBorderWidthBottom()
public void setBorderWidthBottom(float borderBottomWidth)
borderBottomWidth - the borderBottomWidth to setpublic BaseColor getBorderColorBottom()
public void setBorderColorBottom(BaseColor borderBottomColor)
borderBottomColor - the borderBottomColor to setpublic void setBorderWidth(float width)
width - float.public void setBorderColor(BaseColor color)
color - BaseColor.public void setBackground(BaseColor background)
background - BaseColor.public BaseColor getBackground()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||