Class ColumnDouble

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
Direct Known Subclasses:
ColumnMeasure, ColumnProgress

@Component @Configurable @Ignore("TRUNCATE") public class ColumnDouble extends Column
This class implements the user interface object that allows to represent a table's column containing floating point numbers
See Also:
GCApi:
component
  • Field Details

    • _any

      protected Any _any
    • _format

      protected String _format
    • _forced

      protected boolean _forced
    • _symbols

      protected String _symbols
    • _forcedSymbols

      protected boolean _forcedSymbols
  • Constructor Details

    • ColumnDouble

      public ColumnDouble()
      Creates a ColumnDouble
  • Method Details

    • setFORMAT

      public void setFORMAT(String s)
      Sets the string used to define the DecimalFormat pattern. See Conventions
      Parameters:
      s - The string that defines the format for the output
    • setSYMBOLS

      public void setSYMBOLS(String s)
      Sets the string that contains the symbols (minus symbol, percent symbol, decimal separator, etc) that are used to display the value
      Parameters:
      s - A string written accordingly to the order described in Conventions.setupDecimalFormat(java.lang.String)
    • 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
    • setModelProperties

      public void setModelProperties(@NotNull @NotNull DataAttribute dataAttribute)
      Description copied from interface: overit.geocall.ux.edm.ModelConfigurable
      Sets the model properties based on the provided DataAttribute.
      Specified by:
      setModelProperties in interface overit.geocall.ux.edm.ModelConfigurable
      Overrides:
      setModelProperties in class Column
      Parameters:
      dataAttribute - a non-null DataAttribute used to set model properties
    • getDefaultLayoutLabel

      public String getDefaultLayoutLabel()
      Overrides:
      getDefaultLayoutLabel in class Column