Class TableStyle
- java.lang.Object
-
- com.orchestranetworks.addon.dmdv.model.extension.TableStyle
-
public final class TableStyle extends java.lang.Object
Provides configurations for table style.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description TableStyle()
Creates the default style.TableStyle(java.lang.String borderColor, java.lang.String background, java.lang.String textColor)
Creates a custom table style.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBackground()
Returns the background color in hex.java.lang.String
getBorderColor()
Returns the border color in hex.java.lang.String
getTextColor()
Returns the text color in hex.void
setBackground(java.lang.String background)
Sets the background color.void
setBorderColor(java.lang.String borderColor)
Sets the border color.void
setTextColor(java.lang.String textColor)
Sets the text color.
-
-
-
Constructor Detail
-
TableStyle
public TableStyle()
Creates the default style.
-
TableStyle
public TableStyle(java.lang.String borderColor, java.lang.String background, java.lang.String textColor)
Creates a custom table style.- Parameters:
borderColor
- a hex colorbackground
- a hex colortextColor
- a hex color
-
-
Method Detail
-
getBorderColor
public java.lang.String getBorderColor()
Returns the border color in hex.
-
setBorderColor
public void setBorderColor(java.lang.String borderColor)
Sets the border color.- Parameters:
borderColor
- a color in hex
-
getBackground
public java.lang.String getBackground()
Returns the background color in hex.
-
setBackground
public void setBackground(java.lang.String background)
Sets the background color.- Parameters:
background
- a color in hex
-
getTextColor
public java.lang.String getTextColor()
Returns the text color in hex.
-
setTextColor
public void setTextColor(java.lang.String textColor)
Sets the text color.- Parameters:
textColor
- a color in hex
-
-