org.kuali.rice.kns.datadictionary.control
Class CurrencyControlDefinition
java.lang.Object
org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase
org.kuali.rice.kns.datadictionary.control.CurrencyControlDefinition
- All Implemented Interfaces:
- Serializable, ControlDefinition, DataDictionaryDefinition, org.springframework.beans.factory.InitializingBean
Deprecated.
@Deprecated
public class CurrencyControlDefinition
- extends ControlDefinitionBase
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:
- Serialized Form
Fields inherited from class org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase |
businessObjectClass, cols, datePicker, expandedTextArea, includeBlankRow, includeKeyInLabel, keyAttribute, labelAttribute, ranged, rows, script, size, valuesFinderClass |
Methods inherited from class org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase |
completeValidation, equals, getBusinessObjectClass, getCols, getIncludeBlankRow, getIncludeKeyInLabel, getKeyAttribute, getLabelAttribute, getRows, getScript, getSize, getValuesFinderClass, hasScript, isButton, isCheckbox, isDatePicker, isExpandedTextArea, isFile, isHidden, isKualiUser, isLink, isLookupHidden, isLookupReadonly, isMultiselect, isRadio, isRanged, isSelect, isText, isTextarea, isWorkflowWorkgroup, setBusinessObjectClass, setCols, setDatePicker, setExpandedTextArea, setIncludeBlankRow, setIncludeKeyInLabel, setKeyAttribute, setLabelAttribute, setRanged, setRows, setScript, setSize, setValuesFinderClass |
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.
CurrencyControlDefinition
public CurrencyControlDefinition()
- Deprecated.
isCurrency
public boolean isCurrency()
- Deprecated.
- Specified by:
isCurrency
in interface ControlDefinition
- Overrides:
isCurrency
in class ControlDefinitionBase
- Returns:
- true if the ControlDefinition instance represents a currency control
- See Also:
ControlDefinition.isCurrency()
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class Object
- See Also:
Object.toString()
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.
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.