Class CurrencyControlDefinition

All Implemented Interfaces:
Serializable, Cloneable, ControlDefinition, Copyable, DataDictionaryDefinition, DictionaryBean

@Deprecated public class CurrencyControlDefinition extends ControlDefinitionBase
Deprecated.
Only used by KNS classes, use KRAD.
The currency element defines an HTML text control for entering dollar and cents amounts. Only two decimals to the right of the decimal point are allowed. Formatted value is displayed with commas. Used Properties: size, formattedMaxLength
See Also:
  • Field Details

    • formattedMaxLength

      protected Integer formattedMaxLength
      Deprecated.
      the maxLength for text that has been formatted. ie if maxLength=5. [12345]. but after going through the formatter the value is [12,345.00] and will no longer fit in a field whos maxLength=5. formattedMaxLength solves this problem.
  • Constructor Details

    • CurrencyControlDefinition

      public CurrencyControlDefinition()
      Deprecated.
  • Method Details

    • isCurrency

      public boolean isCurrency()
      Deprecated.
      Specified by:
      isCurrency in interface ControlDefinition
      Overrides:
      isCurrency in class ControlDefinitionBase
      See Also:
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
      See Also:
    • getFormattedMaxLength

      public Integer getFormattedMaxLength()
      Deprecated.
      Returns:
      Returns the formattedMaxLength parameter for currency controls.
    • setFormattedMaxLength

      public void setFormattedMaxLength(Integer formattedMaxLength)
      Deprecated.
      the maxLength for text that has been formatted. ie if maxLength=5. [12345]. but after going through the formatter the value is [12,345.00] and will no longer fit in a field whos maxLength=5. formattedMaxLength solves this problem.