|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.rcp.xui.format.Format
com.ibm.btt.rcp.xui.format.CurrencyFormat
public class CurrencyFormat
XML UI engine provides the com.ibm.btt.rcp.xui.format.NumericFormat to format the Number object. This formatter needs two pattern: inputPattern and outputPattern. inputPattern defines the format of user input. outputPattern defines the format of the text which will be displayed in the Text. The inputPattern and the outputPattern are same as the pattern used in java.text.DecimalFormat, more details please refer to the java doc of JDK.
Constructor Summary | |
---|---|
CurrencyFormat()
|
Method Summary | |
---|---|
java.lang.String |
format(java.lang.String text)
Format String to another pattern to be shown. |
java.lang.String |
formatFromConversionType(java.lang.Object obj)
Format String from conversion type |
java.lang.Object |
formatToConversionType(java.lang.String text)
Format String to conversion type |
java.lang.String |
getInputPattern()
Get input currency pattern |
java.lang.String |
getOutputPattern()
Get output currency pattern |
void |
setInputPattern(java.lang.String inputPattern)
Set input currency pattern |
void |
setOutputPattern(java.lang.String outputPattern)
Set output currency pattern |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrencyFormat()
Method Detail |
---|
public java.lang.String format(java.lang.String text)
IFormat
format
in interface IFormat
format
in class Format
public java.lang.String formatFromConversionType(java.lang.Object obj)
IFormat
formatFromConversionType
in interface IFormat
formatFromConversionType
in class Format
public java.lang.Object formatToConversionType(java.lang.String text)
IFormat
formatToConversionType
in interface IFormat
formatToConversionType
in class Format
public java.lang.String getInputPattern()
public void setInputPattern(java.lang.String inputPattern)
inputPattern
- public java.lang.String getOutputPattern()
public void setOutputPattern(java.lang.String outputPattern)
outputPattern
-
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |