public final class TableStyle extends Object
| Constructor and Description |
|---|
TableStyle()
Creates the default style.
|
TableStyle(String borderColor,
String background,
String textColor)
Creates a custom table style.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBackground()
Returns the background color in hex.
|
String |
getBorderColor()
Returns the border color in hex.
|
String |
getTextColor()
Returns the text color in hex.
|
void |
setBackground(String background)
Sets the background color.
|
void |
setBorderColor(String borderColor)
Sets the border color.
|
void |
setTextColor(String textColor)
Sets the text color.
|
public String getBorderColor()
public void setBorderColor(String borderColor)
borderColor - a color in hexpublic String getBackground()
public void setBackground(String background)
background - a color in hexpublic String getTextColor()
public void setTextColor(String textColor)
textColor - a color in hex