import com.vaadin.data.Property;
/**
- * Formatting proxy for a property.
+ * Formatting proxy for a {@link Property}.
*
* <p>
* This class can be used to implement formatting for any type of Property
*
* <p>
* For example <code>
- * textfield.setPropertyDataSource(new PropertyFormatter(property) {
+ * <pre>textfield.setPropertyDataSource(new PropertyFormatter(property) {
public String format(Object value) {
return ((Double) value).toString() + "000000000";
}
return Double.parseDouble(formattedValue);
}
- });</code> adds formatter for Double-typed property that extends standard
- * "1.0" notation with more zeroes.
+ });</pre></code> adds formatter for Double-typed property that extends
+ * standard "1.0" notation with more zeroes.
* </p>
*
* @author IT Mill Ltd.