de.grogra.pf.ui.util
Class Numeric2String

java.lang.Object
  extended by de.grogra.pf.ui.util.Numeric2String
All Implemented Interfaces:
WidgetConversion

public class Numeric2String
extends java.lang.Object
implements WidgetConversion


Field Summary
 Quantity quantity
           
 
Constructor Summary
Numeric2String(Type type, Quantity quantity)
           
 
Method Summary
 java.lang.Object fromWidget(java.lang.Object widgetValue)
           
 java.lang.Object toWidget(java.lang.Object propertyValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

quantity

public final Quantity quantity
Constructor Detail

Numeric2String

public Numeric2String(Type type,
                      Quantity quantity)
Method Detail

fromWidget

public java.lang.Object fromWidget(java.lang.Object widgetValue)
Specified by:
fromWidget in interface WidgetConversion

toWidget

public java.lang.Object toWidget(java.lang.Object propertyValue)
Specified by:
toWidget in interface WidgetConversion