org.kuali.rice.kns.datadictionary.control
Class CurrencyControlDefinition

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DictionaryBeanBase
      extended by org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
          extended by org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase
              extended by org.kuali.rice.kns.datadictionary.control.CurrencyControlDefinition
All Implemented Interfaces:
Serializable, Cloneable, ControlDefinition, Copyable, DataDictionaryDefinition, DictionaryBean

Deprecated. Only used by KNS classes, use KRAD.

@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

Field Summary
protected  Integer formattedMaxLength
          Deprecated. the maxLength for text that has been formatted.
 
Fields inherited from class org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase
businessObjectClass, cols, datePicker, expandedTextArea, includeBlankRow, includeKeyInLabel, keyAttribute, labelAttribute, ranged, rows, script, size, valuesFinderClass
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
embeddedDataObjectMetadata, generatedFromMetadata, id
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode
 
Constructor Summary
CurrencyControlDefinition()
          Deprecated.  
 
Method Summary
 Integer getFormattedMaxLength()
          Deprecated.  
 boolean isCurrency()
          Deprecated.  
 void setFormattedMaxLength(Integer formattedMaxLength)
          Deprecated. the maxLength for text that has been formatted.
 String toString()
          Deprecated.  
 
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
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
completeValidation, getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadata
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, preventModification, setComponentCode, setNamespaceCode, unwrap
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.datadictionary.DataDictionaryDefinition
completeValidation, getId
 
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
 

Field Detail

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 Detail

CurrencyControlDefinition

public CurrencyControlDefinition()
Deprecated. 
Method Detail

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–2014 The Kuali Foundation. All rights reserved.