com.tensegrity.palowebviewer.modules.ui.client.cubetable
Class DefaultFormatter
java.lang.Object
com.tensegrity.palowebviewer.modules.ui.client.cubetable.DefaultFormatter
- All Implemented Interfaces:
- IFormatter
public class DefaultFormatter
- extends java.lang.Object
- implements IFormatter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFormatter
public DefaultFormatter()
setFloatSeparator
public void setFloatSeparator(char value)
setDecimalSeparator
public void setDecimalSeparator(java.lang.String value)
setFractionalDigitsNumber
public void setFractionalDigitsNumber(int value)
unformat
public IResultElement unformat(java.lang.String value,
IElementType type)
- Specified by:
unformat
in interface IFormatter
format
public java.lang.String format(IResultElement value)
- Specified by:
format
in interface IFormatter