Class ColumnCurrency

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Badgeable, Hideable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

@Component @Configurable @Ignore("TRUNCATE") public class ColumnCurrency extends Column
This class implements the column used to display values that must respect the format of currency. For this reason, this field is suggested when the user has to show a monetary value.
See Also:
GCApi:
component
  • Field Details

    • _any

      protected Any _any
    • _precision

      protected int _precision
    • _format

      protected String _format
    • _symbols

      protected String _symbols
  • Constructor Details

    • ColumnCurrency

      public ColumnCurrency()
      Creates a ColumnCurrency
  • Method Details

    • setPRECISION

      public void setPRECISION(String s)
      Sets the precision for the currency value
      Parameters:
      s - The string that represent the number of digits of the fractional part for the value
    • getHtmlFoot

      public org.apache.ecs.Element getHtmlFoot(HashGetter footValues)
      Description copied from class: Column
      Returns the footer values of the column
      Overrides:
      getHtmlFoot in class Column
      Parameters:
      footValues - The HashGetter that contains the values
      Returns:
      The footer values of the column
    • getHtmlRow

      public org.apache.ecs.Element getHtmlRow(EntitySet es, int row, int pagerow, ArrayList al)
      Description copied from class: Column
      Returns the html element that defines the row
      Overrides:
      getHtmlRow in class Column
      Parameters:
      es - The EntitySet to which the element belongs
      row - The number of the row
      pagerow - The number ofd the page
      al - The list of values of the row
      Returns:
      The html element that defines the row
    • setup

      protected void setup()
      Description copied from class: Component
      Setup the Component
      Overrides:
      setup in class Column
    • getDefaultLayoutLabel

      public String getDefaultLayoutLabel()
      Overrides:
      getDefaultLayoutLabel in class Column