|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.formatters.AbstractFormatter
planetj.formatters.HorizontalGraphFormatter
This class uses an HTML image tag to produce a horizontal bar graph.
Constructor Summary | |
HorizontalGraphFormatter()
|
Method Summary | |
java.lang.String |
formatValue(java.lang.Object value,
Field f)
Formats a value for display. |
double |
getMaxGraphSizeInPixels()
Return the longest size to use for the graph bar. |
boolean |
isPrepareFieldValue(Field field,
ExecutingContext ec)
Checks whether or not this fields value should be prepared. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HorizontalGraphFormatter()
Method Detail |
public boolean isPrepareFieldValue(Field field, ExecutingContext ec)
IFormatter
isPrepareFieldValue
in interface IFormatter
isPrepareFieldValue
in class AbstractFormatter
public double getMaxGraphSizeInPixels()
public java.lang.String formatValue(java.lang.Object value, Field f)
IFormatter
value
- The value to formatf
- The field whose value is being formatted
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |