All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Identified, Tool, HTMLRenderable

@Component @Configurable public class CardDouble extends CardField
CardView field for displaying Double numbers. Supports custom decimal number formatting.
Since:
21.0
See Also:
GCApi:
component
  • Field Details

  • Constructor Details

    • CardDouble

      public CardDouble()
  • Method Details

    • setFORMAT

      public void setFORMAT(String s)
      Sets the number format (XML framework method)
      Parameters:
      s - The number format pattern (e.g. "#,##0.00", "0.000", "#,###")
    • getFormat

      public DecimalFormat getFormat()
      Gets the number format
      Returns:
      The DecimalFormat used for formatting numbers
    • setup

      protected void setup()
      Initializes the component (like ColumnDouble.setup). Sets default format if not configured via XML.
      Overrides:
      setup in class Component
    • getFormattedValue

      protected String getFormattedValue()
      Implementation of getFormattedValue for CardDouble. Returns the formatted number value.
      Specified by:
      getFormattedValue in class CardField
      Returns:
      The formatted value as string