home *** CD-ROM | disk | FTP | other *** search
- <!--Created with NetObjects Script Component Pad-->
- <!-- file currencyComponent.ecc
- scriptcomponent interface file for currency.js -->
-
- <?XML?>
- <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
-
- <COMPONENT NAME="com.netobjects.currencyComponent" ENV="client"
- DISPLAYNAME="Currency"
- HINT="Creates a object that will format numbers into currency formats."
- SRC="currency.js">
-
- <PROPERTY NAME="name" TYPE="STRING"
- DISPLAYNAME="name"
- HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
- DEFAULTVALUE="currency1">
- </PROPERTY>
-
- <PROPERTY NAME="centValue" TYPE="NUMBER"
- DISPLAYNAME="centValue"
- HINT="Enter the number of cents that you wish to convert to dollars.">
- </PROPERTY>
-
- <PROPERTY NAME="moneyValue" TYPE="NUMBER"
- DISPLAYNAME="moneyValue"
- HINT="Enter the string that you wish to have converted into a money format">
- </PROPERTY>
-
- <PROPERTY NAME="decimalSeparator" TYPE="STRING"
- DISPLAYNAME="decimalSeparator"
- HINT="Enter the separator that you would like used for the deciaml place when formatting a money string.">
- </PROPERTY>
-
- <PROPERTY NAME="thousandSeparator" TYPE="STRING"
- DISPLAYNAME="thousandSeparator"
- HINT="Enter the separator that you would like used for the thousand place when formatting a money string.">
- </PROPERTY>
-
- <METHOD NAME="centsToDollars"
- ENV="CLIENT"
- HINT="Method to convert a number (cents) into a dollar amount">
- </METHOD>
-
- <METHOD NAME="formatMoneyStr"
- ENV="CLIENT"
- HINT="Method to format a money string into a particular format">
- </METHOD>
-
- <METHOD NAME="setCents"
- ENV="CLIENT">
- <PARAMETER NAME="value" TYPE="STRING"/>
- </METHOD>
-
- <METHOD NAME="setMoneyToFormat"
- ENV="CLIENT">
- <PARAMETER NAME="value" TYPE="STRING"/>
- </METHOD>
-
- <ICON SRC16="currency.gif"/>
-
- <HELP SRC="Currency.html"/>
-
- </COMPONENT>
-