Class TableStyle
java.lang.Object
com.orchestranetworks.addon.dmdv.model.extension.TableStyle
Provides configurations for table style.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorDescriptionCreates the default style.TableStyle
(String borderColor, String background, String textColor) Creates a custom table style. -
Method Summary
Modifier and TypeMethodDescriptionReturns the background color in hex.Returns the border color in hex.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.
-
Constructor Details
-
TableStyle
public TableStyle()Creates the default style. -
TableStyle
Creates a custom table style.- Parameters:
borderColor
- a hex colorbackground
- a hex colortextColor
- a hex color
-
-
Method Details
-
getBorderColor
Returns the border color in hex. -
setBorderColor
Sets the border color.- Parameters:
borderColor
- a color in hex
-
getBackground
Returns the background color in hex. -
setBackground
Sets the background color.- Parameters:
background
- a color in hex
-
getTextColor
Returns the text color in hex. -
setTextColor
Sets the text color.- Parameters:
textColor
- a color in hex
-