planetj.formatters
Class InchesAbbreviationFormatter

java.lang.Object
  extended byplanetj.formatters.AbstractFormatter
      extended byplanetj.formatters.InchesAbbreviationFormatter
All Implemented Interfaces:
IFormatter

public class InchesAbbreviationFormatter
extends AbstractFormatter


Constructor Summary
InchesAbbreviationFormatter()
           
 
Method Summary
 java.lang.String formatValue(java.lang.Object value, Field f)
          Formats the Object passed in by including the String "in." after the value for the number of inches.
 
Methods inherited from class planetj.formatters.AbstractFormatter
isPrepareFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InchesAbbreviationFormatter

public InchesAbbreviationFormatter()
Method Detail

formatValue

public java.lang.String formatValue(java.lang.Object value,
                                    Field f)
Formats the Object passed in by including the String "in." after the value for the number of inches.

Parameters:
value - The value to format
f - The field whose value is being formatted
Returns:
The formatted display value of the value