Class Format

java.lang.Object
io.deephaven.web.client.api.Format

@TsInterface @TsName(namespace="dh") public final class Format extends Object
This object may be pooled internally or discarded and not updated. Do not retain references to it.
  • Field Details

    • EMPTY

      public static final Format EMPTY
  • Constructor Details

    • Format

      public Format(long cellColors, long rowColors, String numberFormat, String formatString)
  • Method Details

    • getColor

      @JsProperty public @JsNullable String getColor()
      Color to apply to the text, in #rrggbb format.
      Returns:
      String
    • getBackgroundColor

      @JsProperty public @JsNullable String getBackgroundColor()
      Color to apply to the cell's background, in #rrggbb format.
      Returns:
      String
    • getNumberFormat

      @Deprecated @JsProperty public @JsNullable String getNumberFormat()
      Deprecated.
      Prefer formatString. Number format string to apply to the value in this cell.
    • getFormatString

      @JsProperty public @JsNullable String getFormatString()
      The format string to apply to the value of this cell.
      Returns:
      String
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object