Class ColumnInputDouble

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Badgeable, Hideable, ValueValidator, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable
Direct Known Subclasses:
ColumnInputDoubleGreater, ColumnInputDoubleLess, ColumnInputMeasure

@Component public class ColumnInputDouble extends ColumnInputRegExp
This component extends ColumnInputRegExp and must be used to insert an double input field as a column. For details on the accepted input see Double class.
See Also:
GCApi:
component
  • Field Details

    • _any

      protected Any _any
    • _precision

      protected int _precision
    • _outputPrecision

      protected int _outputPrecision
    • _msgCampoNumerico

      protected String _msgCampoNumerico
    • _msgInserireUnNumeroIntero

      protected String _msgInserireUnNumeroIntero
    • _msgInserireUnNumeroReale

      protected String _msgInserireUnNumeroReale
    • _msgIncrementa

      protected String _msgIncrementa
    • _msgDecrementa

      protected String _msgDecrementa
    • _msgCampoMaggioreUguale

      protected String _msgCampoMaggioreUguale
    • _msgCampoMinoreUguale

      protected String _msgCampoMinoreUguale
    • _greater

      protected String _greater
    • _less

      protected String _less
    • _separator

      protected char _separator
    • _groupingSeparator

      protected char _groupingSeparator
    • _groupingSize

      protected int _groupingSize
  • Constructor Details

    • ColumnInputDouble

      public ColumnInputDouble()
      Creates a new instance of ColumnInputDouble
  • Method Details

    • setPRECISION

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

      public void setOUTPUTPRECISION(String s)
      Sets the output precision for the value. It is used to show the value in the field
      Parameters:
      s - The string that represent the number of digits of the fractional part.
    • setLESS

      public void setLESS(String s)
      Sets the constraint about the maximum value. The value inserted by the user is considered valid only if it's lower than the one set by this method.
      Parameters:
      s - The string that represents the maximum limit
    • setGREATER

      public void setGREATER(String s)
      Sets the constraint about the minimum value. The value inserted by the user is considered valid only if it's higher than the one set by this method.
      Parameters:
      s - The string that represents the minimum limit
    • setINCREMENT

      public void setINCREMENT(String s)
      Sets the step of the increment. If this attribute is set, next to input field appear one plus and one minus to increase or decrement the entered value. The step must be positive and equal or greather than 10-6.
      Parameters:
      s - The string to use as step. It must be a rappresentation of a double.
    • setGROUPINGSIZE

      public void setGROUPINGSIZE(String s)
      Sets the number of digits that must occur between two grouping separators.
      Parameters:
      s - The string that represent the number of digits that must occur between two grouping separators.
    • setup

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

      protected void validate(org.apache.ecs.html.Input i, EntitySet es, boolean ro, int row)
      Overrides:
      validate in class ColumnInputRegExp
    • prepareName

      protected String prepareName()
      Overrides:
      prepareName in class ColumnInput
    • prepareValue

      protected String prepareValue(ArrayList al)
      Overrides:
      prepareValue in class ColumnInput
    • 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 ColumnInput
      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
    • getIncrementLink

      protected org.apache.ecs.Element getIncrementLink(String id, boolean inverse, String img)
    • getDefaultLayoutLabel

      public String getDefaultLayoutLabel()
      Overrides:
      getDefaultLayoutLabel in class ColumnInput