Class com.symantec.itools.swing.CurrencyEngine
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.swing.CurrencyEngine

Object
   |
   +----com.symantec.itools.swing.CurrencyEngine

public class CurrencyEngine
extends Object

Constructor Index

 o com.symantec.itools.swing.CurrencyEngine()
 o com.symantec.itools.swing.CurrencyEngine(char, char)

Method Index

 o cut(StringBuffer, int, int)
 o getATMmode()
 o getCommas()
 o getCurrencyLeading()
 o getCurrencySymbol()
 o getDecimalPoint()
 o getDefaultDecimalSeparator()
Returns the locale specific default decimal separator.
 o getDefaultGroupingSeparator()
Returns the locale specific default grouping separator.
 o getDigitsAfterDecimal()
 o getSeparator()
 o initDisplay(String, StringBuffer)
 o isHandledKey(KeyEvent)
 o paste(StringBuffer, String, int, int, int)
 o postFormat(String, StringBuffer)
 o processKey(KeyEvent, int, String, StringBuffer, int, int)
 o setATMmode(boolean)
 o setCommas(boolean)
 o setCurrencyLeading(boolean)
 o setCurrencySymbol(String)
 o setDecimalPoint(char)
 o setDigitsAfterDecimal(int)
 o setSeparator(char)

Constructors

 o CurrencyEngine
public CurrencyEngine()
 o CurrencyEngine
public CurrencyEngine(char decimalPoint,
                      char separator)

Methods

 o cut
public void cut(StringBuffer newData,
                int selStart,
                int selEnd)
 o getATMmode
public boolean getATMmode()
 o getCommas
public boolean getCommas()
 o getCurrencyLeading
public boolean getCurrencyLeading()
 o getCurrencySymbol
public java.lang.String getCurrencySymbol()
 o getDecimalPoint
public char getDecimalPoint()
 o getDefaultDecimalSeparator
public static char getDefaultDecimalSeparator()
Returns the locale specific default decimal separator.

 o getDefaultGroupingSeparator
public static char getDefaultGroupingSeparator()
Returns the locale specific default grouping separator.

 o getDigitsAfterDecimal
public int getDigitsAfterDecimal()
 o getSeparator
public char getSeparator()
 o initDisplay
public int initDisplay(String data,
                       StringBuffer newData)
 o isHandledKey
public boolean isHandledKey(KeyEvent e)
 o paste
public void paste(StringBuffer data,
                  String pasteData,
                  int pos,
                  int selStart,
                  int selEnd)
 o postFormat
public void postFormat(String data,
                       StringBuffer newData)
 o processKey
public int processKey(KeyEvent e,
                      int pos,
                      String data,
                      StringBuffer newData,
                      int selStart,
                      int selEnd)
 o setATMmode
public void setATMmode(boolean b)
 o setCommas
public void setCommas(boolean b)
 o setCurrencyLeading
public void setCurrencyLeading(boolean b)
 o setCurrencySymbol
public void setCurrencySymbol(String s)
 o setDecimalPoint
public void setDecimalPoint(char c)
 o setDigitsAfterDecimal
public void setDigitsAfterDecimal(int c)
 o setSeparator
public void setSeparator(char c)

All Packages  Class Hierarchy  This Package  Previous  Next  Index