Interface ResultMatrix.StyledCell

All Superinterfaces:
ResultMatrix.Cell, Serializable
Enclosing interface:
ResultMatrix

public static interface ResultMatrix.StyledCell extends ResultMatrix.Cell
  • Method Details

    • withColor

      ResultMatrix.StyledCell withColor(String color)
      Set the foreground color of the value font
    • withBackground

      ResultMatrix.StyledCell withBackground(String bgColor)
      Set the background color of the cell
    • withFontWeight

      ResultMatrix.StyledCell withFontWeight(String fontWeight)
      Set the font weight (in standard CSS terms) of the value text
    • withAlignment

      ResultMatrix.StyledCell withAlignment(String alignment)
      Specify the alignment of the cell
    • withToolTip

      ResultMatrix.StyledCell withToolTip(String tooltip)
      Show a tooltip text in the cell
    • withCSS

      ResultMatrix.StyledCell withCSS(String extraCSS)
      Apply any other valid CSS instructions to the cell
    • withFormatting

      ResultMatrix.StyledCell withFormatting(String formatting)
      Set the regular expression formatting of the cell. For instance: '▲ {}%' uses icon ▲ as a prefix, % sign as a suffix, and the {} will be substituted with a value.

      Note: keeping a value separate from the display text allows tools such as Actionable Insight or the AI Assistant to have direct access to the data, without the need to guess what should be filtered out.