|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.app.adapter.LyFormatterAdapter
public abstract class LyFormatterAdapter
Interface implemented by classes that format field values.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyFormatterAdapter()
|
Method Summary | |
---|---|
abstract java.lang.Object |
parse(LyFieldInfo fieldInfo,
java.lang.String value,
LyUnit unit)
Method to parse a string value with a given unit. |
java.lang.String |
toName(LyFieldInfo fieldInfo,
java.lang.Object value,
LyUnit unit)
Method to format a value to a displayable string with the given unit. |
java.lang.String |
toShortName(LyFieldInfo fieldInfo,
java.lang.Object value,
LyUnit unit)
Method to format a value to a displayable short string with the given unit. |
abstract java.lang.String |
toString(LyFieldInfo fieldInfo,
java.lang.Object value,
LyUnit unit)
Method to format a value to an edition string with the given unit. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyFormatterAdapter()
Method Detail |
---|
public abstract java.lang.String toString(LyFieldInfo fieldInfo, java.lang.Object value, LyUnit unit)
toString
in interface LyFormatterInterface
fieldInfo
- the fieldInfo for which a value is formattedvalue
- the value to formatunit
- the destination unit of the string value
public java.lang.String toName(LyFieldInfo fieldInfo, java.lang.Object value, LyUnit unit)
toName
in interface LyFormatterInterface
fieldInfo
- the fieldInfo for which a value is formattedvalue
- the value to formatunit
- the destination unit of the string value
public java.lang.String toShortName(LyFieldInfo fieldInfo, java.lang.Object value, LyUnit unit)
toShortName
in interface LyFormatterInterface
fieldInfo
- the fieldInfo for which a value is formattedvalue
- the value to formatunit
- the destination unit of the string value
public abstract java.lang.Object parse(LyFieldInfo fieldInfo, java.lang.String value, LyUnit unit)
parse
in interface LyFormatterInterface
fieldInfo
- the fieldInfo for which the string value is parsed.value
- the string value to parseunit
- the destination unit of the string value
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |