com.zfqjava.swing.cell.converter
Class NumberConverter
java.lang.Object
com.zfqjava.swing.cell.converter.NumberConverter
- All Implemented Interfaces:
- Converter
public class NumberConverter
- extends Object
- implements Converter
|
Constructor Summary |
NumberConverter()
Creates a new instance of NumberConverter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberConverter
public NumberConverter()
- Creates a new instance of NumberConverter
getFormat
public NumberFormat getFormat()
setFormat
public void setFormat(NumberFormat format)
toString
public String toString(Object o)
throws ConvertException
- Description copied from interface:
Converter
- Converts the object to string.
- Specified by:
toString in interface Converter
- Parameters:
o - the object
- Throws:
ConvertException
valueOf
public Object valueOf(String s)
throws ConvertException
- Description copied from interface:
Converter
- Convets the string to object.
- Specified by:
valueOf in interface Converter
- Parameters:
s - the string
- Throws:
ConvertException
Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.