Interface View.Stat

Enclosing interface:
View

public static interface View.Stat
One figure of View.Stats.
  • Method Details

    • unit

      View.Stat unit(String unit)
      Parameters:
      unit - written after the figure, smaller
      Returns:
      this figure
    • sub

      View.Stat sub(String text)
      Parameters:
      text - a line under the figure
      Returns:
      this figure
    • tone

      View.Stat tone(Tone tone)
      Parameters:
      tone - the figure's colour
      Returns:
      this figure
    • decimals

      View.Stat decimals(int digits)
      Parameters:
      digits - how many decimals a number shows, 0 until set
      Returns:
      this figure
    • spark

      View.Stat spark(List<? extends Number> values)
      Parameters:
      values - the figure's last values, oldest first, drawn as a line under it
      Returns:
      this figure