Class ResultMatrix.ResultMatrixStyledCell
- Object
-
- ResultMatrix.AbstractResultMatrixCell
-
- ResultMatrixStyledCell
-
- Enclosing class:
- ResultMatrix
public class ResultMatrix.ResultMatrixStyledCell extends ResultMatrix.AbstractResultMatrixCell
-
-
Field Summary
Fields Modifier and Type Field Description String
alignment
String
background
String
color
String
extraCSS
String
fontweight
String
tooltip
-
Fields inherited from class ResultMatrix.AbstractResultMatrixCell
type, value
-
-
Constructor Summary
Constructors Constructor Description ResultMatrixStyledCell()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultMatrix.ResultMatrixStyledCell
withAlignment(String alignment)
Specify the alignment of the cellResultMatrix.ResultMatrixStyledCell
withBackground(String bgColor)
Set the background color of the cellResultMatrix.ResultMatrixStyledCell
withColor(String color)
Set the foreground color of the value fontResultMatrix.ResultMatrixStyledCell
withCSS(String extraCSS)
Apply any other valid CSS instructions to the cellResultMatrix.ResultMatrixStyledCell
withFontWeight(String fontWeight)
Set the font weight (in standard CSS terms) of the value textResultMatrix.ResultMatrixStyledCell
withToolTip(String tooltip)
Show a tooltip text in the cell
-
-
-
Method Detail
-
withColor
public ResultMatrix.ResultMatrixStyledCell withColor(String color)
Set the foreground color of the value font- Parameters:
color
-- Returns:
-
withBackground
public ResultMatrix.ResultMatrixStyledCell withBackground(String bgColor)
Set the background color of the cell- Parameters:
bgColor
-- Returns:
-
withFontWeight
public ResultMatrix.ResultMatrixStyledCell withFontWeight(String fontWeight)
Set the font weight (in standard CSS terms) of the value text- Parameters:
fontWeight
-- Returns:
-
withAlignment
public ResultMatrix.ResultMatrixStyledCell withAlignment(String alignment)
Specify the alignment of the cell- Parameters:
alignment
-- Returns:
-
withToolTip
public ResultMatrix.ResultMatrixStyledCell withToolTip(String tooltip)
Show a tooltip text in the cell- Parameters:
tooltip
-- Returns:
-
withCSS
public ResultMatrix.ResultMatrixStyledCell withCSS(String extraCSS)
Apply any other valid CSS instructions to the cell- Parameters:
extraCSS
-- Returns:
-
-