public class TableStyleValues extends Object
Constructor and Description |
---|
TableStyleValues()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
BaseColor |
getBackground()
Get background color.
|
BaseColor |
getBorderColorBottom() |
BaseColor |
getBorderColorLeft() |
BaseColor |
getBorderColorRight() |
BaseColor |
getBorderColorTop() |
float |
getBorderWidthBottom() |
Float |
getBorderWidthBottom(boolean defaultIfNotSet) |
float |
getBorderWidthLeft() |
Float |
getBorderWidthLeft(boolean defaultIfNotSet) |
float |
getBorderWidthRight() |
Float |
getBorderWidthRight(boolean defaultIfNotSet) |
float |
getBorderWidthTop() |
Float |
getBorderWidthTop(boolean defaultIfNotSet) |
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) |
public float getHorBorderSpacing()
public void setHorBorderSpacing(float horBorderSpacing)
horBorderSpacing
- the spacing
public void setVerBorderSpacing(float verBorderSpacing)
verBorderSpacing
- the spacing
public float getVerBorderSpacing()
public void setLastInRow(boolean isLastInRow)
isLastInRow
- boolean.
public boolean isLastInRow()
public float getBorderWidthLeft()
public Float getBorderWidthLeft(boolean defaultIfNotSet)
public void setBorderWidthLeft(float borderLeftWidth)
borderLeftWidth
- the borderLeftWidth to set
public BaseColor getBorderColorLeft()
public void setBorderColorLeft(BaseColor borderLeftColor)
borderLeftColor
- the borderLeftColor to set
public float getBorderWidthRight()
public Float getBorderWidthRight(boolean defaultIfNotSet)
public void setBorderWidthRight(float borderRightWidth)
borderRightWidth
- the borderRightWidth to set
public BaseColor getBorderColorRight()
public void setBorderColorRight(BaseColor borderRightColor)
borderRightColor
- the borderRightColor to set
public float getBorderWidthTop()
public Float getBorderWidthTop(boolean defaultIfNotSet)
public void setBorderWidthTop(float borderTopWidth)
borderTopWidth
- the borderTopWidth to set
public BaseColor getBorderColorTop()
public void setBorderColorTop(BaseColor borderTopColor)
borderTopColor
- the borderTopColor to set
public float getBorderWidthBottom()
public Float getBorderWidthBottom(boolean defaultIfNotSet)
public void setBorderWidthBottom(float borderBottomWidth)
borderBottomWidth
- the borderBottomWidth to set
public BaseColor getBorderColorBottom()
public void setBorderColorBottom(BaseColor borderBottomColor)
borderBottomColor
- the borderBottomColor to set
public void setBorderWidth(float width)
width
- float.
public void setBorderColor(BaseColor color)
color
- BaseColor.
public void setBackground(BaseColor background)
background
- BaseColor.
public BaseColor getBackground()
Copyright © 1998–2019. All rights reserved.