|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dacf.dataset.FormatterInfo
FormatterInfo is a helper class that is used by bean property editors to
define how data is formatted on controls. FormatterInfo
identifies a key and a formatter string. The key performs two roles. It
identifies which formatter to use to format the data and it passes the
formatter string to a consumer: typically, an AttributeInfo.
The formatter string identifies the code to define how the raw data should
be formatted. An example of a key would be
DefaultDateFormatter
and an example of a
formatter string would be dd/mm/yyyy.
The oracle.dacf.formatter package defines several default formatters.
You can subclass the Formatter
class
to define you own formatters.
oracle.dacf.formatter
,
FormatManager
,
Formatter
,
AttributeInfo
Constructor Summary | |
FormatterInfo(java.lang.Object key,
java.lang.String formatterString)
Constructor requiring a key an a formatter string parameter. |
Method Summary | |
java.lang.String |
getFormatterString()
|
java.lang.Object |
getKey()
|
void |
setFormatterString(java.lang.String formatterString)
|
void |
setKey(java.lang.Object key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FormatterInfo(java.lang.Object key, java.lang.String formatterString)
key
- name of the formatter to use to format the data.formatterString
- code to define how the raw data should
be formatted.Method Detail |
public void setKey(java.lang.Object key)
public java.lang.Object getKey()
public void setFormatterString(java.lang.String formatterString)
public java.lang.String getFormatterString()
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.