thinkui.db.io
Class DefaultFormatFactory
java.lang.Object
thinkui.db.io.AbstractFormatFactory
thinkui.db.io.DefaultFormatFactory
- All Implemented Interfaces:
- FormatFactory
- public class DefaultFormatFactory
- extends AbstractFormatFactory
Default implementation of the FormatFactory.
|
Method Summary |
java.text.Format |
createFormat(Attribute attr)
Creates the Format to format values for the given attribute. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHOICE_FORMAT_TYPE
public static final java.lang.String CHOICE_FORMAT_TYPE
- See Also:
- Constant Field Values
DATE_FORMAT_TYPE
public static final java.lang.String DATE_FORMAT_TYPE
- See Also:
- Constant Field Values
DECIMAL_FORMAT_TYPE
public static final java.lang.String DECIMAL_FORMAT_TYPE
- See Also:
- Constant Field Values
MESSAGE_FORMAT_TYPE
public static final java.lang.String MESSAGE_FORMAT_TYPE
- See Also:
- Constant Field Values
DefaultFormatFactory
public DefaultFormatFactory()
createFormat
public java.text.Format createFormat(Attribute attr)
- Creates the Format to format values for the given attribute.
- Parameters:
attr - The attribute to create the Format object.
- Returns:
- The text Format object for formatting values for the attribute.
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.