planetj.formatters
Class SkypeTelephoneFormatter
java.lang.Object
planetj.formatters.AbstractFormatter
planetj.formatters.SkypeTelephoneFormatter
- All Implemented Interfaces:
- IFormatter
- public class SkypeTelephoneFormatter
- extends AbstractFormatter
This class uses an HTML image tag to produce a horizontal bar graph.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SkypeTelephoneFormatter
public SkypeTelephoneFormatter()
isPrepareFieldValue
public boolean isPrepareFieldValue(Field field,
ExecutingContext ec)
- Description copied from interface:
IFormatter
- Checks whether or not this fields value should be prepared. For example, there could
be an HTML formatter that generates HTML and it's resulting value should not be altered.
- Specified by:
isPrepareFieldValue
in interface IFormatter
- Overrides:
isPrepareFieldValue
in class AbstractFormatter
formatValue
public java.lang.String formatValue(java.lang.Object value,
Field f)
- Description copied from interface:
IFormatter
- Formats a value for display. This method is only used when formating a read-only display value
- Parameters:
value
- The value to formatf
- The field whose value is being formatted
- Returns:
- The formatted display value of the value