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 StringalignmentStringbackgroundStringcolorStringextraCSSStringfontweightStringtooltip-
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.ResultMatrixStyledCellwithAlignment(String alignment)Specify the alignment of the cellResultMatrix.ResultMatrixStyledCellwithBackground(String bgColor)Set the background color of the cellResultMatrix.ResultMatrixStyledCellwithColor(String color)Set the foreground color of the value fontResultMatrix.ResultMatrixStyledCellwithCSS(String extraCSS)Apply any other valid CSS instructions to the cellResultMatrix.ResultMatrixStyledCellwithFontWeight(String fontWeight)Set the font weight (in standard CSS terms) of the value textResultMatrix.ResultMatrixStyledCellwithToolTip(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:
-
-